Class TreeListViewTableDefinition.TreeListRelation
Represents a relation used in a tree list. The data source is generated using the ItemSource binding of the parent TreeListViewTableDefinition.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class TreeListRelation : RelationBase, IRelation
Constructors
TreeListRelation(TreeListViewTableDefinition)
Initializes a new instance of the TreeListViewTableDefinition.TreeListRelation class.
Declaration
public TreeListRelation(TreeListViewTableDefinition tableDefinition)
Parameters
TreeListViewTableDefinition
tableDefinition
|
Methods
GetDataSource(Object)
Gets the child hierarchy items.
Declaration
public IEnumerable GetDataSource(object context)
Parameters
System.Object
context
The parent data item. |
Returns
System.Collections.IEnumerable
|
GetDataSource(Object, DataItemCollection)
Gets the child data source.
Declaration
public override object GetDataSource(object context, DataItemCollection parentItems)
Parameters
System.Object
context
The data context. |
DataItemCollection
parentItems
The parent items collection. |
Returns
System.Object
|