ClassGridViewObjectRelationalDataProvider
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewObjectRelationalDataProvider : GridViewHierarchyDataProvider, IDisposable
Inheritance: objectGridViewHierarchyDataProviderGridViewObjectRelationalDataProvider
Implements:
Inherited Members
Constructors
GridViewObjectRelationalDataProvider(GridViewTemplate)
Initializes a new instance of the GridViewObjectRelationalDataProvider class.
Declaration
public GridViewObjectRelationalDataProvider(GridViewTemplate template)
Parameters
template
The template.
Properties
IsVirtual
Gets a value indicating whether this instance is virtual and create ChildRows outside GridViewTemplate.Rows collection.
Declaration
public override bool IsVirtual { get; }
Property Value
true if this instance is virtual; otherwise, false.
Overrides
Relation
Gets the relation.
Declaration
public override GridViewRelation Relation { get; }
Property Value
The relation.
Overrides
Methods
AddNewRow(GridViewNewRowInfo)
Adds the new row.
Declaration
public GridViewRowInfo AddNewRow(GridViewNewRowInfo newRow)
Parameters
newRow
The new row.
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()
Overrides
GetChildRows(GridViewRowInfo, GridViewInfo)
Gets the child rows.
Declaration
public override IList<GridViewRowInfo> GetChildRows(GridViewRowInfo parentRow, GridViewInfo view)
Parameters
parentRow
The parent row.
view
The view.
Returns
IList<GridViewRowInfo>
Overrides
GetParent(GridViewRowInfo)
Gets the parent.
Declaration
public override GridViewHierarchyRowInfo GetParent(GridViewRowInfo gridViewRowInfo)
Parameters
gridViewRowInfo
The grid view row info.
Returns
Overrides
Refresh()
Refreshes this instance.
Declaration
public override void Refresh()
Overrides
RemoveRow(GridViewRowInfo)
Removes the row.
Declaration
public bool RemoveRow(GridViewRowInfo row)
Parameters
row
The row.
Returns