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

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

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public interface IGridNavigator

Derived Classes: BaseGridNavigator

Properties

Gets the master gridelement associated with this navigator

C#
RadGridViewElement GridViewElement { get; }

Methods

Begins grid selection

C#
void BeginSelection(GridNavigationContext context)
Parameters:contextGridNavigationContext

An instance of GridNavigationContext.

Clears the selection

C#
void ClearSelection()

Deletes the selected rows.

C#
bool DeleteSelectedRows()
Returns:

bool

Ends selection

C#
void EndSelection()

Initializes the IGridNavigator with the specified RadGridView

C#
void Initialize(RadGridViewElement element)
Parameters:elementRadGridViewElement

The RadGridViewElement to associate with this object

Checks whether the specified column is the last one.

C#
bool IsFirstColumn(GridViewColumn column)
Parameters:columnGridViewColumn

the column to check

Returns:

bool

true if this is the last column

Checks whether the specified column is the last editable one.

C#
bool IsFirstEditableColumn(GridViewColumn column)
Parameters:columnGridViewColumn

the column to check

Returns:

bool

true if this is the last editable column

Checks whether the specified row is the last one.

C#
bool IsFirstRow(GridViewRowInfo row)
Parameters:rowGridViewRowInfo

the row to check

Returns:

bool

true if this is the last row

Checks whether the specified column is the first one.

C#
bool IsLastColumn(GridViewColumn column)
Parameters:columnGridViewColumn

the column to check

Returns:

bool

true if this is the first column

Checks whether the specified column is the first editable one.

C#
bool IsLastEditableColumn(GridViewColumn column)
Parameters:columnGridViewColumn

the column to check

Returns:

bool

true if this is the first editable column

Checks whether the specified row is the first one.

C#
bool IsLastRow(GridViewRowInfo row)
Parameters:rowGridViewRowInfo

the row to check

Returns:

bool

true if this is the first row

Selects the sepcified row as current and specified column as current

C#
bool Select(GridViewRowInfo row, GridViewColumn column)
Parameters:rowGridViewRowInfo

An instance of GridViewRowInfo.

columnGridViewColumn

An instance of GridViewColumn.

Returns:

bool

Select all rows and cells

C#
void SelectAll()

Selects the first column as current column in grid

C#
bool SelectFirstColumn()
Returns:

bool

true if successfull.

Selects the first row as current column in grid

C#
bool SelectFirstRow()
Returns:

bool

true if successfull.

Selects the last column as current column in grid

C#
bool SelectLastColumn()
Returns:

bool

true if successfull.

Selects the last row as current column in grid

C#
bool SelectLastRow()
Returns:

bool

true if successfull.

Selects the next column as current column in grid

C#
bool SelectNextColumn()
Returns:

bool

true if successfull.

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

C#
bool SelectNextRow(int step)
Parameters:stepint

The distance to the row

Returns:

bool

true if successfull.

Selects the previous column as current column in grid

C#
bool SelectPreviousColumn()
Returns:

bool

true if successfull.

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

C#
bool SelectPreviousRow(int step)
Parameters:stepint

The distance to the row

Returns:

bool

true if successfull.

Selects the specified row as current row in grid

C#
bool SelectRow(GridViewRowInfo row)
Parameters:rowGridViewRowInfo

The GridViewRowInfo to be selected

Returns:

bool

true if successfull.