New to Telerik UI for WinFormsStart a free 30-day trial

IRowView

Interface

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public interface IRowView : IGridView

Derived Classes: GridTableElement

Inherited Members IGridView.Initialize(RadGridViewElement, GridViewInfo)IGridView.Detach()IGridView.UpdateView()IGridView.GridViewElementIGridView.ViewInfo

Properties

Gets a collection containing all visible child views

C#
ReadOnlyCollection<IRowView> ChildViews { get; }

Gets the current GridCellElement

C#
GridCellElement CurrentCell { get; }

Gets the addreess of the current GridCellElement

C#
Point CurrentCellAddress { get; }

Gets the current GridRowElement

C#
GridRowElement CurrentRow { get; }

Gets a value indicating whether the view is current

C#
bool IsCurrentView { get; }

Gets the number of rows displayed to the user.

C#
int RowsPerPage { get; }

Gets the rows currently visible on screen

C#
IList<GridRowElement> VisualRows { get; }

Methods

Begins batch update of the items.

C#
bool BeginUpdate()
Returns:

bool

Returns the number of columns displayed to the user.

C#
int DisplayedColumnCount(bool includePartialColumn)
Parameters:includePartialColumnbool

true to include partial columns in the displayed column count; otherwise, false.

Returns:

int

The number of columns displayed to the user.

Returns the number of rows displayed to the user.

C#
int DisplayedRowCount(bool includePartialRow)
Parameters:includePartialRowbool

true to include partial rows in the displayed row count; otherwise, false.

Returns:

int

The number of rows displayed to the user.

Ends batch update of the items.

C#
bool EndUpdate()
Returns:

bool

Ends batch update of the items.

C#
bool EndUpdate(bool performUpdate)
Parameters:performUpdatebool

Tells the view to perform update

Returns:

bool

Ensures that the specified cell is visible.

C#
bool EnsureCellVisible(GridViewRowInfo rowInfo, GridViewColumn column)
Parameters:rowInfoGridViewRowInfo

A GridViewRowInfo that specifies the cell's row

columnGridViewColumn

A GridViewColumn that specifies the cell's column

Returns:

bool

Ensures that the specified row is visible.

C#
bool EnsureRowVisible(GridViewRowInfo gridViewRowInfo)
Parameters:gridViewRowInfoGridViewRowInfo

A GridViewRowInfo that specifies the row

Returns:

bool

Gets a cell based on corresponding GridViewRowInfo and GridViewColumn

C#
GridCellElement GetCellElement(GridViewRowInfo rowInfo, GridViewColumn column)
Parameters:rowInfoGridViewRowInfo

The corresponding GridViewRowInfo

columnGridViewColumn

The corresponding GridViewColumn

Returns:

GridCellElement

An instance to a GridCellElement if successfull, null othervise

Gets the row's visual element based on the corresponding GridViewRowInfo

C#
GridRowElement GetRowElement(GridViewRowInfo rowInfo)
Parameters:rowInfoGridViewRowInfo

The corresponding GridViewRowInfo

Returns:

GridRowElement

An instance to a GridRowElement if successfull, null othervise

Invalidates a single cell

C#
void InvalidateCell(GridViewRowInfo rowInfo, GridViewColumn column)
Parameters:rowInfoGridViewRowInfo

The corresponding GridViewRowInfo

columnGridViewColumn

The corresponding GridViewColumn

Invalidates a row

C#
void InvalidateRow(GridViewRowInfo rowInfo)
Parameters:rowInfoGridViewRowInfo

The GridViewRowInfo to invalidate

Gets a value indicating whether the row is visible

C#
bool IsRowVisible(GridViewRowInfo value)
Parameters:valueGridViewRowInfo

The GridViewRowInfo to check for visibility

Returns:

bool

Returns true if the row is visible