Interface
IGridNavigator

This interface defines methods used to change the currently selected row and column

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public interface IGridNavigator

Properties

GridViewElement

Gets the master gridelement associated with this navigator

Declaration

cs-api-definition
RadGridViewElement GridViewElement { get; }

Property Value

RadGridViewElement

Methods

BeginSelection(GridNavigationContext)

Begins grid selection

Declaration

cs-api-definition
void BeginSelection(GridNavigationContext context)

Parameters

context

GridNavigationContext

An instance of GridNavigationContext.

ClearSelection()

Clears the selection

Declaration

cs-api-definition
void ClearSelection()

DeleteSelectedRows()

Deletes the selected rows.

Declaration

cs-api-definition
bool DeleteSelectedRows()

Returns

bool

EndSelection()

Ends selection

Declaration

cs-api-definition
void EndSelection()

Initialize(RadGridViewElement)

Initializes the IGridNavigator with the specified RadGridView

Declaration

cs-api-definition
void Initialize(RadGridViewElement element)

Parameters

element

RadGridViewElement

The RadGridViewElement to associate with this object

IsFirstColumn(GridViewColumn)

Checks whether the specified column is the last one.

Declaration

cs-api-definition
bool IsFirstColumn(GridViewColumn column)

Parameters

column

GridViewColumn

the column to check

Returns

bool

true if this is the last column

IsFirstEditableColumn(GridViewColumn)

Checks whether the specified column is the last editable one.

Declaration

cs-api-definition
bool IsFirstEditableColumn(GridViewColumn column)

Parameters

column

GridViewColumn

the column to check

Returns

bool

true if this is the last editable column

IsFirstRow(GridViewRowInfo)

Checks whether the specified row is the last one.

Declaration

cs-api-definition
bool IsFirstRow(GridViewRowInfo row)

Parameters

row

GridViewRowInfo

the row to check

Returns

bool

true if this is the last row

IsLastColumn(GridViewColumn)

Checks whether the specified column is the first one.

Declaration

cs-api-definition
bool IsLastColumn(GridViewColumn column)

Parameters

column

GridViewColumn

the column to check

Returns

bool

true if this is the first column

IsLastEditableColumn(GridViewColumn)

Checks whether the specified column is the first editable one.

Declaration

cs-api-definition
bool IsLastEditableColumn(GridViewColumn column)

Parameters

column

GridViewColumn

the column to check

Returns

bool

true if this is the first editable column

IsLastRow(GridViewRowInfo)

Checks whether the specified row is the first one.

Declaration

cs-api-definition
bool IsLastRow(GridViewRowInfo row)

Parameters

row

GridViewRowInfo

the row to check

Returns

bool

true if this is the first row

Select(GridViewRowInfo, GridViewColumn)

Selects the sepcified row as current and specified column as current

Declaration

cs-api-definition
bool Select(GridViewRowInfo row, GridViewColumn column)

Parameters

row

GridViewRowInfo

An instance of GridViewRowInfo.

column

GridViewColumn

An instance of GridViewColumn.

Returns

bool

SelectAll()

Select all rows and cells

Declaration

cs-api-definition
void SelectAll()

SelectFirstColumn()

Selects the first column as current column in grid

Declaration

cs-api-definition
bool SelectFirstColumn()

Returns

bool

true if successfull.

SelectFirstRow()

Selects the first row as current column in grid

Declaration

cs-api-definition
bool SelectFirstRow()

Returns

bool

true if successfull.

SelectLastColumn()

Selects the last column as current column in grid

Declaration

cs-api-definition
bool SelectLastColumn()

Returns

bool

true if successfull.

SelectLastRow()

Selects the last row as current column in grid

Declaration

cs-api-definition
bool SelectLastRow()

Returns

bool

true if successfull.

SelectNextColumn()

Selects the next column as current column in grid

Declaration

cs-api-definition
bool SelectNextColumn()

Returns

bool

true if successfull.

SelectNextRow(int)

Selects the row at specified distance after the current position as current row in grid

Declaration

cs-api-definition
bool SelectNextRow(int step)

Parameters

step

int

The distance to the row

Returns

bool

true if successfull.

SelectPreviousColumn()

Selects the previous column as current column in grid

Declaration

cs-api-definition
bool SelectPreviousColumn()

Returns

bool

true if successfull.

SelectPreviousRow(int)

Selects the row at specified distance before the current position as current row in grid

Declaration

cs-api-definition
bool SelectPreviousRow(int step)

Parameters

step

int

The distance to the row

Returns

bool

true if successfull.

SelectRow(GridViewRowInfo)

Selects the specified row as current row in grid

Declaration

cs-api-definition
bool SelectRow(GridViewRowInfo row)

Parameters

row

GridViewRowInfo

The GridViewRowInfo to be selected

Returns

bool

true if successfull.