RelationBase
Class
The abstract base class for all relations.
Definition
Namespace:Telerik.Windows.Data
Assembly:Telerik.Windows.Data.dll
Syntax:
C#
public abstract class RelationBase : IRelation
Inheritance: objectRelationBase
Derived Classes:
Implements:
Constructors
C#
protected RelationBase()
Properties
Gets or sets a value indicating whether this instance is self-reference. Self-reference relations are used when the child data contains the same objects as the master.
C#
public bool IsSelfReference { get; set; }
True if this relation is a self-reference one; otherwise, false.
Implements:
Methods
Gets the child data source.
C#
public abstract object GetDataSource(object context, DataItemCollection parentItems)
The data context.
parentItemsDataItemCollectionThe parent items collection.
Returns: