Interface IRowView
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public interface IRowView : IGridView
Properties
ChildViews
Gets a collection containing all visible child views
Declaration
ReadOnlyCollection<IRowView> ChildViews { get; }
Property Value
System.Collections.ObjectModel.ReadOnlyCollection<IRowView>
|
CurrentCell
Gets the current GridCellElement
Declaration
GridCellElement CurrentCell { get; }
Property Value
GridCellElement
|
CurrentCellAddress
Gets the addreess of the current GridCellElement
Declaration
Point CurrentCellAddress { get; }
Property Value
System.Drawing.Point
|
CurrentRow
Gets the current GridRowElement
Declaration
GridRowElement CurrentRow { get; }
Property Value
GridRowElement
|
IsCurrentView
Gets a value indicating whether the view is current
Declaration
bool IsCurrentView { get; }
Property Value
System.Boolean
|
RowsPerPage
Gets the number of rows displayed to the user.
Declaration
int RowsPerPage { get; }
Property Value
System.Int32
|
VisualRows
Gets the rows currently visible on screen
Declaration
IList<GridRowElement> VisualRows { get; }
Property Value
System.Collections.Generic.IList<GridRowElement>
|
Methods
BeginUpdate()
Begins batch update of the items.
Declaration
bool BeginUpdate()
Returns
System.Boolean
|
DisplayedColumnCount(Boolean)
Returns the number of columns displayed to the user.
Declaration
int DisplayedColumnCount(bool includePartialColumn)
Parameters
System.Boolean
includePartialColumn
true to include partial columns in the displayed column count; otherwise, false. |
Returns
System.Int32
The number of columns displayed to the user. |
DisplayedRowCount(Boolean)
Returns the number of rows displayed to the user.
Declaration
int DisplayedRowCount(bool includePartialRow)
Parameters
System.Boolean
includePartialRow
true to include partial rows in the displayed row count; otherwise, false. |
Returns
System.Int32
The number of rows displayed to the user. |
EndUpdate()
Ends batch update of the items.
Declaration
bool EndUpdate()
Returns
System.Boolean
|
EndUpdate(Boolean)
Ends batch update of the items.
Declaration
bool EndUpdate(bool performUpdate)
Parameters
System.Boolean
performUpdate
Tells the view to perform update |
Returns
System.Boolean
|
EnsureCellVisible(GridViewRowInfo, GridViewColumn)
Ensures that the specified cell is visible.
Declaration
bool EnsureCellVisible(GridViewRowInfo rowInfo, GridViewColumn column)
Parameters
GridViewRowInfo
rowInfo
A GridViewRowInfo that specifies the cell's row |
GridViewColumn
column
A GridViewColumn that specifies the cell's column |
Returns
System.Boolean
|
EnsureRowVisible(GridViewRowInfo)
Ensures that the specified row is visible.
Declaration
bool EnsureRowVisible(GridViewRowInfo gridViewRowInfo)
Parameters
GridViewRowInfo
gridViewRowInfo
A GridViewRowInfo that specifies the row |
Returns
System.Boolean
|
GetCellElement(GridViewRowInfo, GridViewColumn)
Gets a cell based on corresponding GridViewRowInfo and GridViewColumn
Declaration
GridCellElement GetCellElement(GridViewRowInfo rowInfo, GridViewColumn column)
Parameters
GridViewRowInfo
rowInfo
The corresponding GridViewRowInfo |
GridViewColumn
column
The corresponding GridViewColumn |
Returns
GridCellElement
An instance to a GridCellElement if successfull, null othervise |
GetRowElement(GridViewRowInfo)
Gets the row's visual element based on the corresponding GridViewRowInfo
Declaration
GridRowElement GetRowElement(GridViewRowInfo rowInfo)
Parameters
GridViewRowInfo
rowInfo
The corresponding GridViewRowInfo |
Returns
GridRowElement
An instance to a GridRowElement if successfull, null othervise |
InvalidateCell(GridViewRowInfo, GridViewColumn)
Invalidates a single cell
Declaration
void InvalidateCell(GridViewRowInfo rowInfo, GridViewColumn column)
Parameters
GridViewRowInfo
rowInfo
The corresponding GridViewRowInfo |
GridViewColumn
column
The corresponding GridViewColumn |
InvalidateRow(GridViewRowInfo)
Invalidates a row
Declaration
void InvalidateRow(GridViewRowInfo rowInfo)
Parameters
GridViewRowInfo
rowInfo
The GridViewRowInfo to invalidate |
IsRowVisible(GridViewRowInfo)
Gets a value indicating whether the row is visible
Declaration
bool IsRowVisible(GridViewRowInfo value)
Parameters
GridViewRowInfo
value
The GridViewRowInfo to check for visibility |
Returns
System.Boolean
Returns true if the row is visible |