Class GridViewInfo
This class contains logical information about visual presentation of flat tabular data in RadGridView.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewInfo
Constructors
GridViewInfo(GridViewTemplate)
Initializes a new instance of the GridViewInfo.
Declaration
public GridViewInfo(GridViewTemplate ownerTemplate)
Parameters
GridViewTemplate
ownerTemplate
The GridViewTemplate which this view corresponds to. |
GridViewInfo(GridViewTemplate, GridViewHierarchyRowInfo)
Initializes a new instance of the GridViewInfo class.
Declaration
public GridViewInfo(GridViewTemplate ownerTemplate, GridViewHierarchyRowInfo parentRow)
Parameters
GridViewTemplate
ownerTemplate
The owner template. |
GridViewHierarchyRowInfo
parentRow
The parent row. |
Properties
ChildRows
Gets the rows in this view.
Declaration
public GridViewChildRowCollection ChildRows { get; }
Property Value
GridViewChildRowCollection
The rows. |
CurrentIndex
Gets the index of the CurrentRow in the currently selected group.
Declaration
public int CurrentIndex { get; }
Property Value
System.Int32
|
CurrentRow
Gets or sets the current row of the current view.
Declaration
public GridViewRowInfo CurrentRow { get; set; }
Property Value
GridViewRowInfo
|
NeedsRefresh
Gets a value that indicates whether the ChildRows collection of GridViewInfo needs to be refreshed.
Declaration
public virtual bool NeedsRefresh { get; }
Property Value
System.Boolean
|
ParentRow
Gets the parent GridViewRowInfo which the current view is linked to.
Declaration
public GridViewHierarchyRowInfo ParentRow { get; }
Property Value
GridViewHierarchyRowInfo
|
PinnedRows
Gets a readonly list of GridViewRowInfo containing the pinned rows in this view.
Declaration
public GridViewPinnedRowCollection PinnedRows { get; }
Property Value
GridViewPinnedRowCollection
|
Rows
Gets the rows in this view.
Declaration
public GridViewChildRowCollection Rows { get; }
Property Value
GridViewChildRowCollection
The rows. |
SummaryRows
Gets a readonly list of GridViewSummaryRowInfo containing the summary rows in this view.
Declaration
public GridViewSummaryRowCollection SummaryRows { get; }
Property Value
GridViewSummaryRowCollection
|
SystemRows
Gets a readonly list of GridViewRowInfo containing the system rows in this view.
Declaration
public GridViewSystemRowCollection SystemRows { get; }
Property Value
GridViewSystemRowCollection
|
TableAddNewRow
Gets the instance of GridViewNewRowInfo for the current view. This row represents the row which is used by users to add new data.
Declaration
public GridViewNewRowInfo TableAddNewRow { get; }
Property Value
GridViewNewRowInfo
|
TableFilteringRow
Gets the instance of GridViewFilteringRowInfo representing the header row for the current view.
Declaration
public GridViewFilteringRowInfo TableFilteringRow { get; }
Property Value
GridViewFilteringRowInfo
|
TableHeaderRow
Gets the instance of GridViewTableHeaderRowInfo representing the header row for the current view.
Declaration
public GridViewTableHeaderRowInfo TableHeaderRow { get; }
Property Value
GridViewTableHeaderRowInfo
|
TableSearchRow
Gets the instance of GridViewSearchRowInfo for the current view. This row represents the row which is used by users to search through the data inside RadGridView.
Declaration
public GridViewSearchRowInfo TableSearchRow { get; }
Property Value
GridViewSearchRowInfo
|
ViewTemplate
Gets the instance of GridViewTemplate which the current view corresponds to.
Declaration
public GridViewTemplate ViewTemplate { get; }
Property Value
GridViewTemplate
|
Methods
CreateAddNewRow()
Creates the new row.
Declaration
protected virtual GridViewNewRowInfo CreateAddNewRow()
Returns
GridViewNewRowInfo
|
CreateFilteringRow()
Creates the filtering row.
Declaration
protected virtual GridViewFilteringRowInfo CreateFilteringRow()
Returns
GridViewFilteringRowInfo
|
CreateSearchRow()
Creates the search row.
Declaration
protected virtual GridViewSearchRowInfo CreateSearchRow()
Returns
GridViewSearchRowInfo
|
CreateTableHeaderRow()
Creates the table header row.
Declaration
protected virtual GridViewTableHeaderRowInfo CreateTableHeaderRow()
Returns
GridViewTableHeaderRowInfo
|
EnsureVisible()
Ensures the visible.
Declaration
public void EnsureVisible()
FindGroupParent(GridViewRowInfo)
Finds the group parent.
Declaration
protected virtual IHierarchicalRow FindGroupParent(GridViewRowInfo rowInfo)
Parameters
GridViewRowInfo
rowInfo
The row info. |
Returns
IHierarchicalRow
|
FindParent(GridViewRowInfo)
Finds the parent of GridViewRowInfo instance.
Declaration
public IHierarchicalRow FindParent(GridViewRowInfo rowInfo)
Parameters
GridViewRowInfo
rowInfo
The row info. |
Returns
IHierarchicalRow
The parent of GridViewRowInfo instance. |
HasChildRows()
Determines whether it has child rows.
Declaration
public bool HasChildRows()
Returns
System.Boolean
|
InitializeTableAddNewRow()
Initializes the table new row.
Declaration
protected virtual void InitializeTableAddNewRow()
InitializeTableFilteringRow()
Initializes the table filtering row.
Declaration
protected virtual void InitializeTableFilteringRow()
InitializeTableHeaderRow()
Initializes the table header row.
Declaration
protected virtual void InitializeTableHeaderRow()
InitializeTableSearchRow()
Initializes the table search row.
Declaration
protected virtual void InitializeTableSearchRow()
LoadHierarchicalData(GridViewHierarchyRowInfo, ICollectionView<GridViewRowInfo>)
Loads the hierarchical data.
Declaration
protected ICollectionView<GridViewRowInfo> LoadHierarchicalData(GridViewHierarchyRowInfo parent, ICollectionView<GridViewRowInfo> sourceView)
Parameters
GridViewHierarchyRowInfo
parent
The parent. |
ICollectionView<GridViewRowInfo>
sourceView
The source view. |
Returns
ICollectionView<GridViewRowInfo>
|
Refresh()
Refreshes the ChildRows of GridViewInfo.
Declaration
public virtual void Refresh()