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 VirtualGridInputBehavior

Represents the virtual grid behavior that handles keyboard and mouse input.

Inheritance
System.Object
VirtualGridInputBehavior
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 VirtualGridInputBehavior

Constructors

VirtualGridInputBehavior(RadVirtualGridElement)

Initializes a new instance of the VirtualGridInputBehavior class.

Declaration
public VirtualGridInputBehavior(RadVirtualGridElement gridElement)
Parameters
RadVirtualGridElement gridElement

The grid element.

Fields

beginEdit

Declaration
protected bool beginEdit
Field Value
System.Boolean

wasInEditMode

Declaration
protected bool wasInEditMode
Field Value
System.Boolean

Properties

GridElement

Gets the RadVirtualGridElement instance this behavior is assigned to.

Declaration
public RadVirtualGridElement GridElement { get; }
Property Value
RadVirtualGridElement

IsResizing

Gets a value indicating whether a resize operation is underway.

Declaration
public bool IsResizing { get; }
Property Value
System.Boolean

IsResizingColumn

Gets a value indicating whether a column resize operation is iunderway.

Declaration
public bool IsResizingColumn { get; }
Property Value
System.Boolean

IsResizingRow

Gets a value indicating whether a row resuze operations is underway.

Declaration
public bool IsResizingRow { get; }
Property Value
System.Boolean

IsSelecting

Gets a value indicating whether a selection operation is underway.

Declaration
public bool IsSelecting { get; }
Property Value
System.Boolean

Methods

GetFirstScrollableRow(VirtualGridTableElement)

Gets the first scrollable row.

Declaration
protected int GetFirstScrollableRow(VirtualGridTableElement tableElement)
Parameters
VirtualGridTableElement tableElement

The table element.

Returns
System.Int32

GetLastScrollableRow(VirtualGridTableElement)

Gets the last scrollable row.

Declaration
protected int GetLastScrollableRow(VirtualGridTableElement tableElement)
Parameters
VirtualGridTableElement tableElement

The table element.

Returns
System.Int32

HandleAddKey(KeyEventArgs)

Handles the Add key

Declaration
protected virtual bool HandleAddKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleAlphaNumericKey(KeyPressEventArgs)

Handles the alpha-numeric keys

Declaration
protected virtual bool HandleAlphaNumericKey(KeyPressEventArgs keys)
Parameters
System.Windows.Forms.KeyPressEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleDeleteKey(KeyEventArgs)

Handles the Delete key

Declaration
protected virtual bool HandleDeleteKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleDownKey(KeyEventArgs)

Handles the Down key

Declaration
protected virtual bool HandleDownKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleEndKey(KeyEventArgs)

Handles the End key

Declaration
protected virtual bool HandleEndKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleEnterKey(KeyEventArgs)

Handles the Enter key

Declaration
protected virtual bool HandleEnterKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleEscapeKey(KeyEventArgs)

Handles the Escape key

Declaration
protected virtual bool HandleEscapeKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleF2Key(KeyEventArgs)

Handles the F2 key

Declaration
protected virtual bool HandleF2Key(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleHomeKey(KeyEventArgs)

Handles the Home key

Declaration
protected virtual bool HandleHomeKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleInsertKey(KeyEventArgs)

Handles the Insert key

Declaration
protected virtual bool HandleInsertKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleKeyDown(KeyEventArgs)

Handles the key down.

Declaration
public virtual bool HandleKeyDown(KeyEventArgs args)
Parameters
System.Windows.Forms.KeyEventArgs args

The System.Windows.Forms.KeyEventArgs instance containing the event data.

Returns
System.Boolean

HandleKeyPress(KeyPressEventArgs)

Handles the key press.

Declaration
public virtual bool HandleKeyPress(KeyPressEventArgs args)
Parameters
System.Windows.Forms.KeyPressEventArgs args

The System.Windows.Forms.KeyPressEventArgs instance containing the event data.

Returns
System.Boolean

HandleKeyUp(KeyEventArgs)

Handles the key up.

Declaration
public virtual bool HandleKeyUp(KeyEventArgs args)
Parameters
System.Windows.Forms.KeyEventArgs args

The System.Windows.Forms.KeyEventArgs instance containing the event data.

Returns
System.Boolean

HandleLeftKey(KeyEventArgs)

Handles the Left key

Declaration
protected virtual bool HandleLeftKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleMouseDoubleClick(MouseEventArgs)

Handles the mouse double click.

Declaration
public virtual bool HandleMouseDoubleClick(MouseEventArgs args)
Parameters
System.Windows.Forms.MouseEventArgs args

The System.Windows.Forms.MouseEventArgs instance containing the event data.

Returns
System.Boolean

HandleMouseDown(MouseEventArgs)

Handles the mouse down.

Declaration
public virtual bool HandleMouseDown(MouseEventArgs args)
Parameters
System.Windows.Forms.MouseEventArgs args

The System.Windows.Forms.MouseEventArgs instance containing the event data.

Returns
System.Boolean

HandleMouseMove(MouseEventArgs)

Handles the mouse move.

Declaration
public virtual bool HandleMouseMove(MouseEventArgs args)
Parameters
System.Windows.Forms.MouseEventArgs args

The System.Windows.Forms.MouseEventArgs instance containing the event data.

Returns
System.Boolean

HandleMouseUp(MouseEventArgs)

Handles the mouse up.

Declaration
public virtual bool HandleMouseUp(MouseEventArgs args)
Parameters
System.Windows.Forms.MouseEventArgs args

The System.Windows.Forms.MouseEventArgs instance containing the event data.

Returns
System.Boolean

HandleMouseWheel(MouseEventArgs)

Handles the mouse wheel.

Declaration
public virtual bool HandleMouseWheel(MouseEventArgs args)
Parameters
System.Windows.Forms.MouseEventArgs args

The System.Windows.Forms.MouseEventArgs instance containing the event data.

Returns
System.Boolean

HandlePageDownKey(KeyEventArgs)

Handle the PageDown key

Declaration
protected virtual bool HandlePageDownKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandlePageUpKey(KeyEventArgs)

Handles the PageUp key

Declaration
protected virtual bool HandlePageUpKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleRightKey(KeyEventArgs)

Handles the Right key

Declaration
protected virtual bool HandleRightKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleSpaceKey(KeyEventArgs)

Handles the Space key

Declaration
protected virtual bool HandleSpaceKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleSubtractKey(KeyEventArgs)

Handles the Subtract key

Declaration
protected virtual bool HandleSubtractKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleTabKey(KeyEventArgs)

Handles the Tab key

Declaration
protected virtual bool HandleTabKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleUnhandledKeys(KeyEventArgs)

Processes keys that are not handled by HandleKeyDown methoes

Declaration
protected virtual bool HandleUnhandledKeys(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

HandleUpKey(KeyEventArgs)

Handles the Up key

Declaration
protected virtual bool HandleUpKey(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

The KeyPressEventArgs containing data related to this event

Returns
System.Boolean

Returns true if the event is processed

SelectCell(Int32, Int32)

Selects the cell defined with the row and column parameters in the grid master view info. Clears previous selection.

Declaration
public void SelectCell(int row, int column)
Parameters
System.Int32 row

The row index.

System.Int32 column

The column index.

SelectCell(Int32, Int32, Boolean, Boolean, VirtualGridViewInfo)

Selects the cell defined with the row and column parameters in the provided view info. Extends or clears the previous selection based on the shift and ctrl parameters.

Declaration
public void SelectCell(int row, int column, bool shift, bool ctrl, VirtualGridViewInfo viewInfo)
Parameters
System.Int32 row

The row index.

System.Int32 column

The column index.

System.Boolean shift

Determines if the selection should be extended as if the Shift key is pressed.

System.Boolean ctrl

Determines if the selection should be extended as if the Ctrl key is pressed.

VirtualGridViewInfo viewInfo

The view info.

SelectCell(Int32, Int32, VirtualGridViewInfo)

Selects the cell defined with the row and column parameters in the provided view info. Clears previous selection.

Declaration
public void SelectCell(int row, int column, VirtualGridViewInfo viewInfo)
Parameters
System.Int32 row

The row index.

System.Int32 column

The column index.

VirtualGridViewInfo viewInfo

The view info.

SelectNextControl(Boolean)

Selects the next control.

Declaration
protected virtual bool SelectNextControl(bool forward)
Parameters
System.Boolean forward

if set to true [forward].

Returns
System.Boolean

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.