Class BaseGridNavigator
This class defines methods used to change the currently selected row and column
Inheritance
System.Object
BaseGridNavigator
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class BaseGridNavigator : IGridNavigator, IGridViewEventListener
Constructors
Declaration
public BaseGridNavigator()
Properties
Gets the anchored position.
Declaration
protected AnchoredPosition AnchoredPosition { get; }
Property Value
Gets the render columns associated with the CurrentView in grid
Declaration
protected IList<GridViewColumn> Columns { get; }
Property Value
Declaration
protected GridNavigationContext Context { get; }
Property Value
Gets grid's current column
Declaration
protected GridViewColumn CurrentColumn { get; }
Property Value
Gets the column index of the current column in grid
Declaration
protected int CurrentColumnIndex { get; }
Property Value
Declaration
protected GridViewRowInfo CurrentRow { get; }
Property Value
The RadGridViewElement associated with this navigator
Declaration
public RadGridViewElement GridViewElement { get; }
Property Value
Implements
Gets a value that indicates whether Mouse Selection is performed
Declaration
protected bool IsMouseSelection { get; }
Property Value
The MasterTemplate associated with this navigator
Declaration
public MasterGridViewTemplate MasterTemplate { get; }
Property Value
Gets a value indicating whether the grid is in right-to-left mode
Declaration
protected bool RightToLeft { get; }
Property Value
Declaration
protected GridTraverser Traverser { get; }
Property Value
Gets the GridViewInfo associated with the CurrentView in grid
Declaration
protected GridViewInfo ViewInfo { get; }
Property Value
Gets the GridViewTemplate associated with the CurrentView in grid
Declaration
protected GridViewTemplate ViewTemplate { get; }
Property Value
Methods
Declaration
protected virtual bool AnalyzeQueueCore(List<GridViewEvent> events)
Parameters
Returns
Declaration
public virtual void BeginSelection(GridNavigationContext context)
Parameters
Implements
Declaration
protected virtual bool CellSelect(GridViewRowInfo row, GridViewColumn column)
Parameters
Returns
Declaration
public virtual void ClearSelection()
Implements
Deletes the selected rows.
Declaration
public virtual bool DeleteSelectedRows()
Returns
Implements
Declaration
protected virtual bool DoMultiSelect(GridViewRowInfo oldRow, GridViewColumn oldColumn, GridViewRowInfo row, GridViewColumn column)
Parameters
Returns
Does the multi select core.
Declaration
protected virtual bool DoMultiSelectCore()
Returns
Declaration
public virtual void EndSelection()
Implements
Returns a boolean value indicating whether the full row is selected.
Declaration
protected virtual bool FullRowSelect(GridViewRowInfo oldCurrentRow, GridViewRowInfo row)
Parameters
Returns
Declaration
protected virtual EventListenerPriority GetEventListenerPirotiy()
Returns
Declaration
protected virtual GridEventProcessMode GetEventProcessMode()
Returns
Initializes the IGridNavigator with the specified RadGridView
Declaration
public virtual void Initialize(RadGridViewElement element)
Parameters
Implements
Checks whether the specified column is the first one.
Declaration
public virtual bool IsFirstColumn(GridViewColumn column)
Parameters
Returns
System.Boolean
true if this is the first column
|
Implements
Checks whether the specified column is the first editable one.
Declaration
public virtual bool IsFirstEditableColumn(GridViewColumn column)
Parameters
Returns
System.Boolean
true if this is the first editable column
|
Implements
Checks whether the specified row is the last one.
Declaration
public virtual bool IsFirstRow(GridViewRowInfo row)
Parameters
Returns
System.Boolean
true if this is the last row
|
Implements
Checks whether the specified column is the last one.
Declaration
public virtual bool IsLastColumn(GridViewColumn column)
Parameters
Returns
System.Boolean
true if this is the last column
|
Implements
Checks whether the specified column is the last editable one.
Declaration
public virtual bool IsLastEditableColumn(GridViewColumn column)
Parameters
Returns
System.Boolean
true if this is the last editable column
|
Implements
Checks whether the specified row is the first one.
Declaration
public virtual bool IsLastRow(GridViewRowInfo row)
Parameters
Returns
System.Boolean
true if this is the first row
|
Implements
Declaration
protected virtual bool NavigateToRow(GridViewRowInfo row, bool select)
Parameters
Returns
Declaration
protected virtual GridViewEventResult PostProcessEventCore(GridViewEvent eventData)
Parameters
Returns
Declaration
protected virtual GridViewEventResult PreProcessEventCore(GridViewEvent eventData)
Parameters
Returns
Declaration
protected virtual GridViewEventResult ProcessCurrentChangedEvent(GridViewEvent eventData)
Parameters
Returns
Declaration
protected virtual GridViewEventResult ProcessEventCore(GridViewEvent eventData)
Parameters
Returns
Declaration
protected virtual GridViewEventResult ProcessViewChangedEvent(GridViewEvent eventData)
Parameters
Returns
Selects the sepcified row as current and specified column as current
Declaration
public virtual bool Select(GridViewRowInfo row, GridViewColumn column)
Parameters
Returns
Implements
Select all rows and cells
Declaration
public virtual void SelectAll()
Implements
Selects the cell associated with the respective row and column.
Declaration
protected virtual bool SelectCore(GridViewRowInfo row, GridViewColumn column)
Parameters
Returns
Selects the first column as current column in grid
Declaration
public virtual bool SelectFirstColumn()
Returns
System.Boolean
true if successfull.
|
Implements
Selects the first row as current column in grid
Declaration
public virtual bool SelectFirstRow()
Returns
System.Boolean
true if successfull.
|
Implements
Selects the last column as current column in grid
Declaration
public virtual bool SelectLastColumn()
Returns
System.Boolean
true if successfull.
|
Implements
Selects the last row as current row in grid
Declaration
public virtual bool SelectLastRow()
Returns
System.Boolean
true if successfull.
|
Implements
Selects the next column as current column in grid
Declaration
public virtual bool SelectNextColumn()
Returns
System.Boolean
true if successfull.
|
Implements
Selects the row at specified distance after the current position as current row in grid
Declaration
public virtual bool SelectNextRow(int step)
Parameters
System.Int32
step
The distance to the row
|
Returns
System.Boolean
true if successfull.
|
Implements
Declaration
protected virtual bool SelectOverride(GridViewRowInfo row, GridViewColumn column)
Parameters
Returns
Selects the previous column as current column in grid
Declaration
public virtual bool SelectPreviousColumn()
Returns
System.Boolean
true if successfull.
|
Implements
Selects the row at specified distance before the current position as current row in grid
Declaration
public virtual bool SelectPreviousRow(int step)
Parameters
System.Int32
step
The distance to the row
|
Returns
System.Boolean
true if successfull.
|
Implements
Selects the specified row as current row in grid
Declaration
public virtual bool SelectRow(GridViewRowInfo row)
Parameters
Returns
System.Boolean
true if successfull.
|
Implements
Declaration
protected virtual void SetSelectedCell(GridViewRowInfo row, GridViewColumn column)
Parameters
Explicit Interface Implementations
Declaration
bool IGridViewEventListener.AnalyzeQueue(List<GridViewEvent> events)
Parameters
Returns
Implements
Declaration
GridEventType IGridViewEventListener.DesiredEvents { get; }
Returns
Implements
Declaration
GridEventProcessMode IGridViewEventListener.DesiredProcessMode { get; }
Returns
Implements
Declaration
GridViewEventResult IGridViewEventListener.PostProcessEvent(GridViewEvent eventData)
Parameters
Returns
Implements
Declaration
GridViewEventResult IGridViewEventListener.PreProcessEvent(GridViewEvent eventData)
Parameters
Returns
Implements
Declaration
EventListenerPriority IGridViewEventListener.Priority { get; }
Returns
Implements
Declaration
GridViewEventResult IGridViewEventListener.ProcessEvent(GridViewEvent eventData)
Parameters
Returns
Implements
Extension Methods