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 GridViewHierarchyDataProvider class.
Declaration
public GridViewHierarchyDataProvider(GridViewTemplate template)
Parameters
GridViewTemplate
template
The template. |
Properties
IsSuspendedNotifications
Gets whether the notifications are suspended.
Declaration
protected bool IsSuspendedNotifications { get; }
Property Value
System.Boolean
The is suspended notifications. |
IsValid
Gets whether the data provider is valid.
Declaration
public virtual bool IsValid { get; }
Property Value
System.Boolean
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.Boolean
|
Relation
Gets the relation.
Declaration
public virtual GridViewRelation Relation { get; }
Property Value
GridViewRelation
The relation. |
Template
Gets the template.
Declaration
public GridViewTemplate Template { get; }
Property Value
GridViewTemplate
The template. |
Methods
Create(GridViewRelation)
Creates the specified hierarchy data provider based on relation description.
Declaration
public static GridViewHierarchyDataProvider Create(GridViewRelation relation)
Parameters
GridViewRelation
relation
The relation. |
Returns
GridViewHierarchyDataProvider
|
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
GridViewRowInfo
parentRow
The parent row. |
GridViewInfo
view
The view. |
Returns
System.Collections.Generic.IList<GridViewRowInfo>
|
GetParent(GridViewRowInfo)
Gets the parent.
Declaration
public abstract GridViewHierarchyRowInfo GetParent(GridViewRowInfo gridViewRowInfo)
Parameters
GridViewRowInfo
gridViewRowInfo
The grid view row info. |
Returns
GridViewHierarchyRowInfo
|
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()