Class DataRelation
This class represents a parent/child relationship between two System.Data.DataTable
Inheritance
System.Object
DataRelation
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Syncfusion.Tools.Windows.dll
public class DataRelation
Constructors
Declaration
Declaration
public DataRelation(object dataSource, string displayMember, string parentChildMember)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
|
System.String |
displayMember |
|
System.String |
parentChildMember |
|
Declaration
public DataRelation(object dataSource, string displayMember, string parentMember, string childMember)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
|
System.String |
displayMember |
|
System.String |
parentMember |
|
System.String |
childMember |
|
Declaration
public DataRelation(object dataSource, string displayMember, string parentMember, string childMember, string valueMember)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
|
System.String |
displayMember |
|
System.String |
parentMember |
|
System.String |
childMember |
|
System.String |
valueMember |
|
Declaration
public DataRelation(object dataSource, string dataMember, string displayMember, string parentMember, string childMember, string valueMember)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
|
System.String |
dataMember |
|
System.String |
displayMember |
|
System.String |
parentMember |
|
System.String |
childMember |
|
System.String |
valueMember |
|
Declaration
public DataRelation(object dataSource, string dataMember, string displayMember, string parentMember, string childMember, string valueMember, string checkedMember)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
|
System.String |
dataMember |
|
System.String |
displayMember |
|
System.String |
parentMember |
|
System.String |
childMember |
|
System.String |
valueMember |
|
System.String |
checkedMember |
|
Properties
Gets or sets a value indicating the field to populate the state of checkbox of TreeNodeAdv in the Relation.
Declaration
public string CheckedMember { get; set; }
Property Value
Gets or sets a value indicating the child data field which behaves as a Child Node in the Relation.
Declaration
public string ChildMember { get; set; }
Property Value
Gets or sets a name of a specific data table within the Relation.
Declaration
public string DataMember { get; set; }
Property Value
Gets or sets the Data Source object in the Relation
Declaration
public object DataSource { get; set; }
Property Value
Gets or sets the field that populates the Text property of the TreeNodeAdv in the Relation.
Declaration
public string DisplayMember { get; set; }
Property Value
Gets or sets a value indicating the parent data field which behaves as a Parent Node in the Relation.
Declaration
public string ParentMember { get; set; }
Property Value
Gets or sets a value indicating the relation between DataRelations.
Declaration
public string RelationName { get; set; }
Property Value
Gets or sets the field that populates the Value property of TreeNodeAdv in the Relation.
Declaration
public string ValueMember { get; set; }
Property Value