menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridDataRelation - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridDataRelation

    Provides the data for relations in GridDataControl.

    Inheritance
    System.Object
    GridDataRelation
    Implements
    Syncfusion.Windows.Data.IRelationDefinition
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridDataRelation : Freezable, IRelationDefinition

    Constructors

    GridDataRelation()

    Initializes a new instance of the GridDataRelation class.

    Declaration
    public GridDataRelation()

    Fields

    ChildItemsSourceProperty

    DependencyProperty for ChildItemsSource.

    Declaration
    public static readonly DependencyProperty ChildItemsSourceProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ChildRelationalColumnProperty

    DependencyProperty for ChildRelationalColumn.

    Declaration
    public static readonly DependencyProperty ChildRelationalColumnProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    RelationalColumnProperty

    DependencyProperty for RelationalColumn.

    Declaration
    public static readonly DependencyProperty RelationalColumnProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    ChildItemsSource

    Gets or sets the child items source.

    Declaration
    public object ChildItemsSource { get; set; }
    Property Value
    Type Description
    System.Object

    The child items source.

    ChildRelationalColumn

    Gets or sets the child table relational column.

    Declaration
    public string ChildRelationalColumn { get; set; }
    Property Value
    Type Description
    System.String

    The child table relational column.

    RelationalColumn

    Gets or sets the parent table relational column.

    Declaration
    public string RelationalColumn { get; set; }
    Property Value
    Type Description
    System.String

    The parent table relational column.

    RelationType

    Gets or sets the type of the relation.

    Declaration
    public RelationType RelationType { get; set; }
    Property Value
    Type Description
    Syncfusion.Windows.Data.RelationType

    The type of the relation.

    TableProperties

    Gets or sets the table properties.

    Declaration
    public GridDataTableProperties TableProperties { get; set; }
    Property Value
    Type Description
    GridDataTableProperties

    The table properties.

    Methods

    CreateInstanceCore()

    Declaration
    protected override Freezable CreateInstanceCore()
    Returns
    Type
    System.Windows.Freezable

    InitializeFrom(GridDataRelation)

    Initializes from another instance of a GridDataRelation.

    Declaration
    public void InitializeFrom(GridDataRelation r)
    Parameters
    Type Name Description
    GridDataRelation r

    The r.

    Implements

    Syncfusion.Windows.Data.IRelationDefinition
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved