Base hierarchy data provider
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public abstract class GridViewHierarchyDataProvider : IDisposable
Inheritance: objectGridViewHierarchyDataProvider
Derived Classes:
Implements:
Constructors
Initializes a new instance of the GridViewHierarchyDataProvider class.
public GridViewHierarchyDataProvider(GridViewTemplate template)
The template.
Properties
Gets whether the notifications are suspended.
protected bool IsSuspendedNotifications { get; }
The is suspended notifications.
Gets whether the data provider is valid.
public virtual bool IsValid { get; }
The is valid.
Gets a value indicating whether this instance is virtual and create ChildRows outside GridViewTemplate.Rows collection.
public virtual bool IsVirtual { get; }
true if this instance is virtual; otherwise, false.
Gets the relation.
public virtual GridViewRelation Relation { get; }
The relation.
Gets the template.
public GridViewTemplate Template { get; }
The template.
Methods
Creates the specified hierarchy data provider based on relation description.
public static GridViewHierarchyDataProvider Create(GridViewRelation relation)
The relation.
Returns:Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public virtual void Dispose()
Implements:
Gets the child rows.
public abstract IList<GridViewRowInfo> GetChildRows(GridViewRowInfo parentRow, GridViewInfo view)
The parent row.
viewGridViewInfoThe view.
Returns:IList<GridViewRowInfo>
Gets the parent.
public abstract GridViewHierarchyRowInfo GetParent(GridViewRowInfo gridViewRowInfo)
The grid view row info.
Returns:Refreshes this instance.
public abstract void Refresh()
Resumes the notifications.
protected void ResumeNotifications()
Suspends the notifications.
protected void SuspendNotifications()