ClassBaseGridNavigator
This class defines methods used to change the currently selected row and column
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class BaseGridNavigator : IGridNavigator, IGridViewEventListener
Inheritance: objectBaseGridNavigator
Implements:
Constructors
BaseGridNavigator()
Declaration
public BaseGridNavigator()
Properties
AnchoredPosition
Gets the anchored position.
Declaration
protected AnchoredPosition AnchoredPosition { get; }
Property Value
The anchored position.
Columns
Gets the render columns associated with the CurrentView in grid
Declaration
protected IList<GridViewColumn> Columns { get; }
Property Value
IList<GridViewColumn>
Context
Gets the context.
Declaration
protected GridNavigationContext Context { get; }
Property Value
The context.
CurrentColumn
Gets grid's current column
Declaration
protected GridViewColumn CurrentColumn { get; }
Property Value
CurrentColumnIndex
Gets the column index of the current column in grid
CurrentRow
Gets grid's current row
Declaration
protected GridViewRowInfo CurrentRow { get; }
Property Value
GridViewElement
The RadGridViewElement associated with this navigator
Declaration
public RadGridViewElement GridViewElement { get; }
Property Value
Implements
IsControlButtonPressed
Gets a value that indicates whether the CONTROL button is performed
IsMouseSelection
Gets a value that indicates whether Mouse Selection is performed
IsRightMouseButtonClicked
Gets a value that indicates whether right mouse button is performed
IsShiftButtonPressed
Gets a value that indicates whether the SHIFT button is performed
MasterTemplate
The MasterTemplate associated with this navigator
Declaration
public MasterGridViewTemplate MasterTemplate { get; }
Property Value
RightToLeft
Gets a value indicating whether the grid is in right-to-left mode
Traverser
Gets the traverser.
Declaration
protected GridTraverser Traverser { get; }
Property Value
The traverser.
ViewInfo
Gets the GridViewInfo associated with the CurrentView in grid
ViewTemplate
Gets the GridViewTemplate associated with the CurrentView in grid
Declaration
protected GridViewTemplate ViewTemplate { get; }
Property Value
Methods
AnalyzeQueueCore(List<GridViewEvent>)
Declaration
protected virtual bool AnalyzeQueueCore(List<GridViewEvent> events)
Parameters
events
List<GridViewEvent>
Returns
BeginSelection(GridNavigationContext)
Begins grid selection
Declaration
public virtual void BeginSelection(GridNavigationContext context)
Parameters
context
An instance of GridNavigationContext.
Implements
CellSelect(GridViewRowInfo, GridViewColumn)
Cells the select.
Declaration
protected virtual bool CellSelect(GridViewRowInfo row, GridViewColumn column)
Parameters
row
The row.
column
The column.
Returns
ClearSelection()
Clears the selection
Declaration
public virtual void ClearSelection()
Implements
DeleteSelectedRows()
Deletes the selected rows.
DoMultiSelect(GridViewRowInfo, GridViewColumn, GridViewRowInfo, GridViewColumn)
Does the multi select.
Declaration
protected virtual bool DoMultiSelect(GridViewRowInfo oldRow, GridViewColumn oldColumn, GridViewRowInfo row, GridViewColumn column)
Parameters
oldRow
The old row.
oldColumn
The old column.
row
The row.
column
The column.
Returns
DoMultiSelectCore()
Does the multi select core.
EndSelection()
Ends selection
Declaration
public virtual void EndSelection()
Implements
FullRowSelect(GridViewRowInfo, GridViewRowInfo)
Returns a boolean value indicating whether the full row is selected.
Declaration
protected virtual bool FullRowSelect(GridViewRowInfo oldCurrentRow, GridViewRowInfo row)
Parameters
oldCurrentRow
The old current row.
row
The row.
Returns
GetEventListenerPirotiy()
Declaration
protected virtual EventListenerPriority GetEventListenerPirotiy()
Returns
GetEventProcessMode()
Declaration
protected virtual GridEventProcessMode GetEventProcessMode()
Returns
Initialize(RadGridViewElement)
Initializes the IGridNavigator with the specified RadGridView
Declaration
public virtual void Initialize(RadGridViewElement element)
Parameters
element
The RadGridViewElement to associate with this object
Implements
IsFirstColumn(GridViewColumn)
Checks whether the specified column is the first one.
Declaration
public virtual bool IsFirstColumn(GridViewColumn column)
Parameters
column
the column to check
Returns
true if this is the first column
Implements
IsFirstEditableColumn(GridViewColumn)
Checks whether the specified column is the first editable one.
Declaration
public virtual bool IsFirstEditableColumn(GridViewColumn column)
Parameters
column
the column to check
Returns
true if this is the first editable column
Implements
IsFirstRow(GridViewRowInfo)
Checks whether the specified row is the last one.
Declaration
public virtual bool IsFirstRow(GridViewRowInfo row)
Parameters
row
the row to check
Returns
true if this is the last row
Implements
IsLastColumn(GridViewColumn)
Checks whether the specified column is the last one.
Declaration
public virtual bool IsLastColumn(GridViewColumn column)
Parameters
column
the column to check
Returns
true if this is the last column
Implements
IsLastEditableColumn(GridViewColumn)
Checks whether the specified column is the last editable one.
Declaration
public virtual bool IsLastEditableColumn(GridViewColumn column)
Parameters
column
the column to check
Returns
true if this is the last editable column
Implements
IsLastRow(GridViewRowInfo)
Checks whether the specified row is the first one.
Declaration
public virtual bool IsLastRow(GridViewRowInfo row)
Parameters
row
the row to check
Returns
true if this is the first row
Implements
NavigateToRow(GridViewRowInfo, bool)
Navigates to row.
Declaration
protected virtual bool NavigateToRow(GridViewRowInfo row, bool select)
Parameters
row
The row.
select
The select.
Returns
PostProcessEventCore(GridViewEvent)
Declaration
protected virtual GridViewEventResult PostProcessEventCore(GridViewEvent eventData)
Parameters
eventData
Returns
PreProcessEventCore(GridViewEvent)
Declaration
protected virtual GridViewEventResult PreProcessEventCore(GridViewEvent eventData)
Parameters
eventData
Returns
ProcessCurrentChangedEvent(GridViewEvent)
Declaration
protected virtual GridViewEventResult ProcessCurrentChangedEvent(GridViewEvent eventData)
Parameters
eventData
Returns
ProcessEventCore(GridViewEvent)
Declaration
protected virtual GridViewEventResult ProcessEventCore(GridViewEvent eventData)
Parameters
eventData
Returns
ProcessViewChangedEvent(GridViewEvent)
Declaration
protected virtual GridViewEventResult ProcessViewChangedEvent(GridViewEvent eventData)
Parameters
eventData
Returns
Select(GridViewRowInfo, GridViewColumn)
Selects the sepcified row as current and specified column as current
Declaration
public virtual bool Select(GridViewRowInfo row, GridViewColumn column)
Parameters
row
An instance of GridViewRowInfo.
column
An instance of GridViewColumn.
Returns
Implements
SelectAll()
Select all rows and cells
Declaration
public virtual void SelectAll()
Implements
SelectCore(GridViewRowInfo, GridViewColumn)
Selects the cell associated with the respective row and column.
Declaration
protected virtual bool SelectCore(GridViewRowInfo row, GridViewColumn column)
Parameters
row
The row.
column
The column.
Returns
SelectFirstColumn()
Selects the first column as current column in grid
Declaration
public virtual bool SelectFirstColumn()
Returns
true if successfull.
Implements
SelectFirstRow()
Selects the first row as current column in grid
Declaration
public virtual bool SelectFirstRow()
Returns
true if successfull.
Implements
SelectLastColumn()
Selects the last column as current column in grid
Declaration
public virtual bool SelectLastColumn()
Returns
true if successfull.
Implements
SelectLastRow()
Selects the last row as current row in grid
Declaration
public virtual bool SelectLastRow()
Returns
true if successfull.
Implements
SelectNextColumn()
Selects the next column as current column in grid
Declaration
public virtual bool SelectNextColumn()
Returns
true if successfull.
Implements
SelectNextRow(int)
Selects the row at specified distance after the current position as current row in grid
SelectOverride(GridViewRowInfo, GridViewColumn)
Selects the override.
Declaration
protected virtual bool SelectOverride(GridViewRowInfo row, GridViewColumn column)
Parameters
row
The row.
column
The column.
Returns
SelectPreviousColumn()
Selects the previous column as current column in grid
Declaration
public virtual bool SelectPreviousColumn()
Returns
true if successfull.
Implements
SelectPreviousRow(int)
Selects the row at specified distance before the current position as current row in grid
SelectRow(GridViewRowInfo)
Selects the specified row as current row in grid
Declaration
public virtual bool SelectRow(GridViewRowInfo row)
Parameters
row
The GridViewRowInfo to be selected
Returns
true if successfull.
Implements
SetSelectedCell(GridViewRowInfo, GridViewColumn)
Sets the selected cell.
Declaration
protected virtual void SetSelectedCell(GridViewRowInfo row, GridViewColumn column)
Parameters
row
The row.
column
The column.