Interface
IRowView

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public interface IRowView : IGridView

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

Properties

ChildViews

Gets a collection containing all visible child views

Declaration

cs-api-definition
ReadOnlyCollection<IRowView> ChildViews { get; }

Property Value

ReadOnlyCollection<IRowView>

CurrentCell

Gets the current GridCellElement

Declaration

cs-api-definition
GridCellElement CurrentCell { get; }

Property Value

GridCellElement

CurrentCellAddress

Gets the addreess of the current GridCellElement

Declaration

cs-api-definition
Point CurrentCellAddress { get; }

Property Value

Point

CurrentRow

Gets the current GridRowElement

Declaration

cs-api-definition
GridRowElement CurrentRow { get; }

Property Value

GridRowElement

IsCurrentView

Gets a value indicating whether the view is current

Declaration

cs-api-definition
bool IsCurrentView { get; }

Property Value

bool

RowsPerPage

Gets the number of rows displayed to the user.

Declaration

cs-api-definition
int RowsPerPage { get; }

Property Value

int

VisualRows

Gets the rows currently visible on screen

Declaration

cs-api-definition
IList<GridRowElement> VisualRows { get; }

Property Value

IList<GridRowElement>

Methods

BeginUpdate()

Begins batch update of the items.

Declaration

cs-api-definition
bool BeginUpdate()

Returns

bool

DisplayedColumnCount(bool)

Returns the number of columns displayed to the user.

Declaration

cs-api-definition
int DisplayedColumnCount(bool includePartialColumn)

Parameters

includePartialColumn

bool

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

Returns

int

The number of columns displayed to the user.

DisplayedRowCount(bool)

Returns the number of rows displayed to the user.

Declaration

cs-api-definition
int DisplayedRowCount(bool includePartialRow)

Parameters

includePartialRow

bool

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

Returns

int

The number of rows displayed to the user.

EndUpdate()

Ends batch update of the items.

Declaration

cs-api-definition
bool EndUpdate()

Returns

bool

EndUpdate(bool)

Ends batch update of the items.

Declaration

cs-api-definition
bool EndUpdate(bool performUpdate)

Parameters

performUpdate

bool

Tells the view to perform update

Returns

bool

EnsureCellVisible(GridViewRowInfo, GridViewColumn)

Ensures that the specified cell is visible.

Declaration

cs-api-definition
bool EnsureCellVisible(GridViewRowInfo rowInfo, GridViewColumn column)

Parameters

rowInfo

GridViewRowInfo

A GridViewRowInfo that specifies the cell's row

column

GridViewColumn

A GridViewColumn that specifies the cell's column

Returns

bool

EnsureRowVisible(GridViewRowInfo)

Ensures that the specified row is visible.

Declaration

cs-api-definition
bool EnsureRowVisible(GridViewRowInfo gridViewRowInfo)

Parameters

gridViewRowInfo

GridViewRowInfo

A GridViewRowInfo that specifies the row

Returns

bool

GetCellElement(GridViewRowInfo, GridViewColumn)

Gets a cell based on corresponding GridViewRowInfo and GridViewColumn

Declaration

cs-api-definition
GridCellElement GetCellElement(GridViewRowInfo rowInfo, GridViewColumn column)

Parameters

rowInfo

GridViewRowInfo

The corresponding GridViewRowInfo

column

GridViewColumn

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

cs-api-definition
GridRowElement GetRowElement(GridViewRowInfo rowInfo)

Parameters

rowInfo

GridViewRowInfo

The corresponding GridViewRowInfo

Returns

GridRowElement

An instance to a GridRowElement if successfull, null othervise

InvalidateCell(GridViewRowInfo, GridViewColumn)

Invalidates a single cell

Declaration

cs-api-definition
void InvalidateCell(GridViewRowInfo rowInfo, GridViewColumn column)

Parameters

rowInfo

GridViewRowInfo

The corresponding GridViewRowInfo

column

GridViewColumn

The corresponding GridViewColumn

InvalidateRow(GridViewRowInfo)

Invalidates a row

Declaration

cs-api-definition
void InvalidateRow(GridViewRowInfo rowInfo)

Parameters

rowInfo

GridViewRowInfo

The GridViewRowInfo to invalidate

IsRowVisible(GridViewRowInfo)

Gets a value indicating whether the row is visible

Declaration

cs-api-definition
bool IsRowVisible(GridViewRowInfo value)

Parameters

value

GridViewRowInfo

The GridViewRowInfo to check for visibility

Returns

bool

Returns true if the row is visible