About Progress

  • Company
    • Company Overview
    • Leadership
    • Corporate Social Responsibility
    • Investor Relations
    • Press Releases
    • Press Coverage
    • Recognitions
    • Progress Labs
    • Events
    • Customers
    • Careers
    • Offices
  • Technology
    • Cloud Native App Dev Platform
    • Cognitive Services
    • Web Content Management
    • UI/UX Tools
    • Secure Data Connectivity and Integration
    • Secure Managed File Transfer
    • OpenEdge
    • Network Monitoring
  • Services
    • Consulting
    • Education
    • Modernization
    • Outsourcing
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • Conversational UI
    • Online Training
    • Document Processing Library
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for Xamarin NativeScript OSS framework
    Desktop
    UI for WPF UI for UWP UI for WinForms
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    Debugging
    FiddlerCore
    CMS
    Sitefinity
    UX Design
    Unite UX
    Document Management
    Telerik Document Processing
    Innovations Lab
    VR DataViz
    Free Tools
    Fiddler JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Edit Profile
    • Payment Profiles
    • Renewals & Upgrades
    • Support Tickets
    • Log out
  • Login
  • Contact Us
  • Try now

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()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll

Syntax

public class BaseGridNavigator : IGridNavigator, IGridViewEventListener

Constructors

BaseGridNavigator()

Declaration
public BaseGridNavigator()

Properties

AnchoredPosition

Gets the anchored position.

Declaration
protected AnchoredPosition AnchoredPosition { get; }
Property Value
AnchoredPosition

The anchored position.

Columns

Gets the render columns associated with the CurrentView in grid

Declaration
protected IList<GridViewColumn> Columns { get; }
Property Value
System.Collections.Generic.IList<GridViewColumn>

Context

Gets the context.

Declaration
protected GridNavigationContext Context { get; }
Property Value
GridNavigationContext

The context.

CurrentColumn

Gets grid's current column

Declaration
protected GridViewColumn CurrentColumn { get; }
Property Value
GridViewColumn

CurrentColumnIndex

Gets the column index of the current column in grid

Declaration
protected int CurrentColumnIndex { get; }
Property Value
System.Int32

CurrentRow

Gets grid's current row

Declaration
protected GridViewRowInfo CurrentRow { get; }
Property Value
GridViewRowInfo

GridViewElement

The RadGridViewElement associated with this navigator

Declaration
public RadGridViewElement GridViewElement { get; }
Property Value
RadGridViewElement

Implements
IGridNavigator.GridViewElement

IsControlButtonPressed

Gets a value that indicates whether the CONTROL button is performed

Declaration
protected bool IsControlButtonPressed { get; }
Property Value
System.Boolean

IsMouseSelection

Gets a value that indicates whether Mouse Selection is performed

Declaration
protected bool IsMouseSelection { get; }
Property Value
System.Boolean

IsRightMouseButtonClicked

Gets a value that indicates whether right mouse button is performed

Declaration
protected bool IsRightMouseButtonClicked { get; }
Property Value
System.Boolean

IsShiftButtonPressed

Gets a value that indicates whether the SHIFT button is performed

Declaration
protected bool IsShiftButtonPressed { get; }
Property Value
System.Boolean

MasterTemplate

The MasterTemplate associated with this navigator

Declaration
public MasterGridViewTemplate MasterTemplate { get; }
Property Value
MasterGridViewTemplate

RightToLeft

Gets a value indicating whether the grid is in right-to-left mode

Declaration
protected bool RightToLeft { get; }
Property Value
System.Boolean

Traverser

Gets the traverser.

Declaration
protected GridTraverser Traverser { get; }
Property Value
GridTraverser

The traverser.

ViewInfo

Gets the GridViewInfo associated with the CurrentView in grid

Declaration
protected GridViewInfo ViewInfo { get; }
Property Value
GridViewInfo

ViewTemplate

Gets the GridViewTemplate associated with the CurrentView in grid

Declaration
protected GridViewTemplate ViewTemplate { get; }
Property Value
GridViewTemplate

Methods

AnalyzeQueueCore(List<GridViewEvent>)

Declaration
protected virtual bool AnalyzeQueueCore(List<GridViewEvent> events)
Parameters
System.Collections.Generic.List<GridViewEvent> events

Returns
System.Boolean

BeginSelection(GridNavigationContext)

Begins grid selection

Declaration
public virtual void BeginSelection(GridNavigationContext context)
Parameters
GridNavigationContext context

An instance of GridNavigationContext.

Implements
IGridNavigator.BeginSelection(GridNavigationContext)

CellSelect(GridViewRowInfo, GridViewColumn)

Cells the select.

Declaration
protected virtual bool CellSelect(GridViewRowInfo row, GridViewColumn column)
Parameters
GridViewRowInfo row

The row.

GridViewColumn column

The column.

Returns
System.Boolean

ClearSelection()

Clears the selection

Declaration
public virtual void ClearSelection()
Implements
IGridNavigator.ClearSelection()

DeleteSelectedRows()

Deletes the selected rows.

Declaration
public virtual bool DeleteSelectedRows()
Returns
System.Boolean

Implements
IGridNavigator.DeleteSelectedRows()

DoMultiSelect(GridViewRowInfo, GridViewColumn, GridViewRowInfo, GridViewColumn)

Does the multi select.

Declaration
protected virtual bool DoMultiSelect(GridViewRowInfo oldRow, GridViewColumn oldColumn, GridViewRowInfo row, GridViewColumn column)
Parameters
GridViewRowInfo oldRow

The old row.

GridViewColumn oldColumn

The old column.

GridViewRowInfo row

The row.

GridViewColumn column

The column.

Returns
System.Boolean

DoMultiSelectCore()

Does the multi select core.

Declaration
protected virtual bool DoMultiSelectCore()
Returns
System.Boolean

EndSelection()

Ends selection

Declaration
public virtual void EndSelection()
Implements
IGridNavigator.EndSelection()

FullRowSelect(GridViewRowInfo, GridViewRowInfo)

Returns a boolean value indicating whether the full row is selected.

Declaration
protected virtual bool FullRowSelect(GridViewRowInfo oldCurrentRow, GridViewRowInfo row)
Parameters
GridViewRowInfo oldCurrentRow

The old current row.

GridViewRowInfo row

The row.

Returns
System.Boolean

GetEventListenerPirotiy()

Declaration
protected virtual EventListenerPriority GetEventListenerPirotiy()
Returns
EventListenerPriority

GetEventProcessMode()

Declaration
protected virtual GridEventProcessMode GetEventProcessMode()
Returns
GridEventProcessMode

Initialize(RadGridViewElement)

Initializes the IGridNavigator with the specified RadGridView

Declaration
public virtual void Initialize(RadGridViewElement element)
Parameters
RadGridViewElement element

The RadGridViewElement to associate with this object

Implements
IGridNavigator.Initialize(RadGridViewElement)

IsFirstColumn(GridViewColumn)

Checks whether the specified column is the first one.

Declaration
public virtual bool IsFirstColumn(GridViewColumn column)
Parameters
GridViewColumn column

the column to check

Returns
System.Boolean

true if this is the first column

Implements
IGridNavigator.IsFirstColumn(GridViewColumn)

IsFirstEditableColumn(GridViewColumn)

Checks whether the specified column is the first editable one.

Declaration
public virtual bool IsFirstEditableColumn(GridViewColumn column)
Parameters
GridViewColumn column

the column to check

Returns
System.Boolean

true if this is the first editable column

Implements
IGridNavigator.IsFirstEditableColumn(GridViewColumn)

IsFirstRow(GridViewRowInfo)

Checks whether the specified row is the last one.

Declaration
public virtual bool IsFirstRow(GridViewRowInfo row)
Parameters
GridViewRowInfo row

the row to check

Returns
System.Boolean

true if this is the last row

Implements
IGridNavigator.IsFirstRow(GridViewRowInfo)

IsLastColumn(GridViewColumn)

Checks whether the specified column is the last one.

Declaration
public virtual bool IsLastColumn(GridViewColumn column)
Parameters
GridViewColumn column

the column to check

Returns
System.Boolean

true if this is the last column

Implements
IGridNavigator.IsLastColumn(GridViewColumn)

IsLastEditableColumn(GridViewColumn)

Checks whether the specified column is the last editable one.

Declaration
public virtual bool IsLastEditableColumn(GridViewColumn column)
Parameters
GridViewColumn column

the column to check

Returns
System.Boolean

true if this is the last editable column

Implements
IGridNavigator.IsLastEditableColumn(GridViewColumn)

IsLastRow(GridViewRowInfo)

Checks whether the specified row is the first one.

Declaration
public virtual bool IsLastRow(GridViewRowInfo row)
Parameters
GridViewRowInfo row

the row to check

Returns
System.Boolean

true if this is the first row

Implements
IGridNavigator.IsLastRow(GridViewRowInfo)

NavigateToRow(GridViewRowInfo, Boolean)

Navigates to row.

Declaration
protected virtual bool NavigateToRow(GridViewRowInfo row, bool select)
Parameters
GridViewRowInfo row

The row.

System.Boolean select

The select.

Returns
System.Boolean

PostProcessEventCore(GridViewEvent)

Declaration
protected virtual GridViewEventResult PostProcessEventCore(GridViewEvent eventData)
Parameters
GridViewEvent eventData

Returns
GridViewEventResult

PreProcessEventCore(GridViewEvent)

Declaration
protected virtual GridViewEventResult PreProcessEventCore(GridViewEvent eventData)
Parameters
GridViewEvent eventData

Returns
GridViewEventResult

ProcessCurrentChangedEvent(GridViewEvent)

Declaration
protected virtual GridViewEventResult ProcessCurrentChangedEvent(GridViewEvent eventData)
Parameters
GridViewEvent eventData

Returns
GridViewEventResult

ProcessEventCore(GridViewEvent)

Declaration
protected virtual GridViewEventResult ProcessEventCore(GridViewEvent eventData)
Parameters
GridViewEvent eventData

Returns
GridViewEventResult

ProcessViewChangedEvent(GridViewEvent)

Declaration
protected virtual GridViewEventResult ProcessViewChangedEvent(GridViewEvent eventData)
Parameters
GridViewEvent eventData

Returns
GridViewEventResult

Select(GridViewRowInfo, GridViewColumn)

Selects the sepcified row as current and specified column as current

Declaration
public virtual bool Select(GridViewRowInfo row, GridViewColumn column)
Parameters
GridViewRowInfo row

An instance of GridViewRowInfo.

GridViewColumn column

An instance of GridViewColumn.

Returns
System.Boolean

Implements
IGridNavigator.Select(GridViewRowInfo, GridViewColumn)

SelectAll()

Select all rows and cells

Declaration
public virtual void SelectAll()
Implements
IGridNavigator.SelectAll()

SelectCore(GridViewRowInfo, GridViewColumn)

Selects the cell associated with the respective row and column.

Declaration
protected virtual bool SelectCore(GridViewRowInfo row, GridViewColumn column)
Parameters
GridViewRowInfo row

The row.

GridViewColumn column

The column.

Returns
System.Boolean

SelectFirstColumn()

Selects the first column as current column in grid

Declaration
public virtual bool SelectFirstColumn()
Returns
System.Boolean

true if successfull.

Implements
IGridNavigator.SelectFirstColumn()

SelectFirstRow()

Selects the first row as current column in grid

Declaration
public virtual bool SelectFirstRow()
Returns
System.Boolean

true if successfull.

Implements
IGridNavigator.SelectFirstRow()

SelectLastColumn()

Selects the last column as current column in grid

Declaration
public virtual bool SelectLastColumn()
Returns
System.Boolean

true if successfull.

Implements
IGridNavigator.SelectLastColumn()

SelectLastRow()

Selects the last row as current row in grid

Declaration
public virtual bool SelectLastRow()
Returns
System.Boolean

true if successfull.

Implements
IGridNavigator.SelectLastRow()

SelectNextColumn()

Selects the next column as current column in grid

Declaration
public virtual bool SelectNextColumn()
Returns
System.Boolean

true if successfull.

Implements
IGridNavigator.SelectNextColumn()

SelectNextRow(Int32)

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
IGridNavigator.SelectNextRow(Int32)

SelectOverride(GridViewRowInfo, GridViewColumn)

Selects the override.

Declaration
protected virtual bool SelectOverride(GridViewRowInfo row, GridViewColumn column)
Parameters
GridViewRowInfo row

The row.

GridViewColumn column

The column.

Returns
System.Boolean

SelectPreviousColumn()

Selects the previous column as current column in grid

Declaration
public virtual bool SelectPreviousColumn()
Returns
System.Boolean

true if successfull.

Implements
IGridNavigator.SelectPreviousColumn()

SelectPreviousRow(Int32)

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
IGridNavigator.SelectPreviousRow(Int32)

SelectRow(GridViewRowInfo)

Selects the specified row as current row in grid

Declaration
public virtual bool SelectRow(GridViewRowInfo row)
Parameters
GridViewRowInfo row

The GridViewRowInfo to be selected

Returns
System.Boolean

true if successfull.

Implements
IGridNavigator.SelectRow(GridViewRowInfo)

SetSelectedCell(GridViewRowInfo, GridViewColumn)

Sets the selected cell.

Declaration
protected virtual void SetSelectedCell(GridViewRowInfo row, GridViewColumn column)
Parameters
GridViewRowInfo row

The row.

GridViewColumn column

The column.

Explicit Interface Implementations

IGridViewEventListener.AnalyzeQueue(List<GridViewEvent>)

Declaration
bool IGridViewEventListener.AnalyzeQueue(List<GridViewEvent> events)
Parameters
System.Collections.Generic.List<GridViewEvent> events

Returns
System.Boolean

Implements
IGridViewEventListener.AnalyzeQueue(List<GridViewEvent>)

IGridViewEventListener.DesiredEvents

Declaration
GridEventType IGridViewEventListener.DesiredEvents { get; }
Returns
GridEventType

Implements
IGridViewEventListener.DesiredEvents

IGridViewEventListener.DesiredProcessMode

Declaration
GridEventProcessMode IGridViewEventListener.DesiredProcessMode { get; }
Returns
GridEventProcessMode

Implements
IGridViewEventListener.DesiredProcessMode

IGridViewEventListener.PostProcessEvent(GridViewEvent)

Declaration
GridViewEventResult IGridViewEventListener.PostProcessEvent(GridViewEvent eventData)
Parameters
GridViewEvent eventData

Returns
GridViewEventResult

Implements
IGridViewEventListener.PostProcessEvent(GridViewEvent)

IGridViewEventListener.PreProcessEvent(GridViewEvent)

Declaration
GridViewEventResult IGridViewEventListener.PreProcessEvent(GridViewEvent eventData)
Parameters
GridViewEvent eventData

Returns
GridViewEventResult

Implements
IGridViewEventListener.PreProcessEvent(GridViewEvent)

IGridViewEventListener.Priority

Declaration
EventListenerPriority IGridViewEventListener.Priority { get; }
Returns
EventListenerPriority

Implements
IGridViewEventListener.Priority

IGridViewEventListener.ProcessEvent(GridViewEvent)

Declaration
GridViewEventResult IGridViewEventListener.ProcessEvent(GridViewEvent eventData)
Parameters
GridViewEvent eventData

Returns
GridViewEventResult

Implements
IGridViewEventListener.ProcessEvent(GridViewEvent)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)

Was this article helpful?

 / 
Tell us how we can improve this article
Skip
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.