Class GridViewInfo
This class contains logical information about visual presentation of flat tabular data in Rad
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 Grid
Declaration
public GridViewInfo(GridViewTemplate ownerTemplate)
Parameters
Grid The Grid |
GridViewInfo(GridViewTemplate, GridViewHierarchyRowInfo)
Initializes a new instance of the Grid
Declaration
public GridViewInfo(GridViewTemplate ownerTemplate, GridViewHierarchyRowInfo parentRow)
Parameters
Grid The owner template. |
Grid The parent row. |
Properties
ChildRows
Gets the rows in this view.
Declaration
public GridViewChildRowCollection ChildRows { get; }
Property Value
Grid The rows. |
CurrentIndex
Gets the index of the Current
Declaration
public int CurrentIndex { get; }
Property Value
System.
|
CurrentRow
Gets or sets the current row of the current view.
Declaration
public GridViewRowInfo CurrentRow { get; set; }
Property Value
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.
|
ParentRow
Gets the parent Grid
Declaration
public GridViewHierarchyRowInfo ParentRow { get; }
Property Value
PinnedRows
Gets a readonly list of Grid
Declaration
public GridViewPinnedRowCollection PinnedRows { get; }
Property Value
Rows
Gets the rows in this view.
Declaration
public GridViewChildRowCollection Rows { get; }
Property Value
Grid The rows. |
SummaryRows
Gets a readonly list of Grid
Declaration
public GridViewSummaryRowCollection SummaryRows { get; }
Property Value
SystemRows
Gets a readonly list of Grid
Declaration
public GridViewSystemRowCollection SystemRows { get; }
Property Value
TableAddNewRow
Gets the instance of Grid
Declaration
public GridViewNewRowInfo TableAddNewRow { get; }
Property Value
TableFilteringRow
Gets the instance of Grid
Declaration
public GridViewFilteringRowInfo TableFilteringRow { get; }
Property Value
TableHeaderRow
Gets the instance of Grid
Declaration
public GridViewTableHeaderRowInfo TableHeaderRow { get; }
Property Value
TableSearchRow
Gets the instance of Grid
Declaration
public GridViewSearchRowInfo TableSearchRow { get; }
Property Value
ViewTemplate
Gets the instance of Grid
Declaration
public GridViewTemplate ViewTemplate { get; }
Property Value
Methods
CreateAddNewRow()
Creates the new row.
Declaration
protected virtual GridViewNewRowInfo CreateAddNewRow()
Returns
CreateFilteringRow()
Creates the filtering row.
Declaration
protected virtual GridViewFilteringRowInfo CreateFilteringRow()
Returns
CreateSearchRow()
Creates the search row.
Declaration
protected virtual GridViewSearchRowInfo CreateSearchRow()
Returns
CreateTableHeaderRow()
Creates the table header row.
Declaration
protected virtual GridViewTableHeaderRowInfo CreateTableHeaderRow()
Returns
EnsureVisible()
Ensures the visible.
Declaration
public void EnsureVisible()
FindGroupParent(GridViewRowInfo)
Finds the group parent.
Declaration
protected virtual IHierarchicalRow FindGroupParent(GridViewRowInfo rowInfo)
Parameters
Grid The row info. |
Returns
FindParent(GridViewRowInfo)
Finds the parent of Grid
Declaration
public IHierarchicalRow FindParent(GridViewRowInfo rowInfo)
Parameters
Grid The row info. |
Returns
IHierarchical The parent of Grid |
HasChildRows()
Determines whether it has child rows.
Declaration
public bool HasChildRows()
Returns
System.
|
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
Grid The parent. |
ICollection The source view. |
Returns
Refresh()
Refreshes the ChildRows of GridViewInfo.
Declaration
public virtual void Refresh()