Class GridViewHierarchyDataProvider
Base hierarchy data provider
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public abstract class GridViewHierarchyDataProvider : IDisposable
Constructors
GridViewHierarchyDataProvider(GridViewTemplate)
Initializes a new instance of the Grid
Declaration
public GridViewHierarchyDataProvider(GridViewTemplate template)
Parameters
Grid The template. |
Properties
IsSuspendedNotifications
Gets whether the notifications are suspended.
Declaration
protected bool IsSuspendedNotifications { get; }
Property Value
System. The is suspended notifications. |
IsValid
Gets whether the data provider is valid.
Declaration
public virtual bool IsValid { get; }
Property Value
System. 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
System.
|
Relation
Gets the relation.
Declaration
public virtual GridViewRelation Relation { get; }
Property Value
Grid The relation. |
Template
Gets the template.
Declaration
public GridViewTemplate Template { get; }
Property Value
Grid The template. |
Methods
Create(GridViewRelation)
Creates the specified hierarchy data provider based on relation description.
Declaration
public static GridViewHierarchyDataProvider Create(GridViewRelation relation)
Parameters
Grid 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
Grid The parent row. |
Grid The view. |
Returns
System.
|
GetParent(GridViewRowInfo)
Gets the parent.
Declaration
public abstract GridViewHierarchyRowInfo GetParent(GridViewRowInfo gridViewRowInfo)
Parameters
Grid The grid view row info. |
Returns
Refresh()
Refreshes this instance.
Declaration
public abstract void Refresh()
ResumeNotifications()
Resumes the notifications.
Declaration
protected void ResumeNotifications()
SuspendNotifications()
Suspends the notifications.
Declaration
protected void SuspendNotifications()