ClassGridViewHierarchyDataProvider
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
GridViewHierarchyDataProvider(GridViewTemplate)
Initializes a new instance of the GridViewHierarchyDataProvider class.
Declaration
public GridViewHierarchyDataProvider(GridViewTemplate template)
Parameters
template
The template.
Properties
IsSuspendedNotifications
Gets whether the notifications are suspended.
Declaration
protected bool IsSuspendedNotifications { get; }
Property Value
The is suspended notifications.
IsValid
Gets whether the data provider is valid.
Declaration
public virtual bool IsValid { get; }
Property Value
The is valid.
IsVirtual
Gets a value indicating whether this instance is virtual and create ChildRows outside GridViewTemplate.Rows collection.
Declaration
public virtual bool IsVirtual { get; }
Property Value
true if this instance is virtual; otherwise, false.
Relation
Gets the relation.
Declaration
public virtual GridViewRelation Relation { get; }
Property Value
The relation.
Template
Gets the template.
Declaration
public GridViewTemplate Template { get; }
Property Value
The template.
Methods
Create(GridViewRelation)
Creates the specified hierarchy data provider based on relation description.
Declaration
public static GridViewHierarchyDataProvider Create(GridViewRelation relation)
Parameters
relation
The relation.
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public virtual void Dispose()
Implements
GetChildRows(GridViewRowInfo, GridViewInfo)
Gets the child rows.
Declaration
public abstract IList<GridViewRowInfo> GetChildRows(GridViewRowInfo parentRow, GridViewInfo view)
Parameters
parentRow
The parent row.
view
The view.
Returns
IList<GridViewRowInfo>
GetParent(GridViewRowInfo)
Gets the parent.
Declaration
public abstract GridViewHierarchyRowInfo GetParent(GridViewRowInfo gridViewRowInfo)
Parameters
gridViewRowInfo
The grid view row info.
Returns
ResumeNotifications()
Resumes the notifications.
Declaration
protected void ResumeNotifications()
SuspendNotifications()
Suspends the notifications.
Declaration
protected void SuspendNotifications()