Class VirtualGridInputBehavior
Represents the virtual grid behavior that handles keyboard and mouse input.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class VirtualGridInputBehavior
Constructors
VirtualGridInputBehavior(RadVirtualGridElement)
Initializes a new instance of the Virtual
Declaration
public VirtualGridInputBehavior(RadVirtualGridElement gridElement)
Parameters
Rad The grid element. |
Fields
beginEdit
Declaration
protected bool beginEdit
Field Value
System.
|
wasInEditMode
Declaration
protected bool wasInEditMode
Field Value
System.
|
Properties
GridElement
Gets the Rad
Declaration
public RadVirtualGridElement GridElement { get; }
Property Value
IsResizing
Gets a value indicating whether a resize operation is underway.
Declaration
public bool IsResizing { get; }
Property Value
System.
|
IsResizingColumn
Gets a value indicating whether a column resize operation is iunderway.
Declaration
public bool IsResizingColumn { get; }
Property Value
System.
|
IsResizingRow
Gets a value indicating whether a row resuze operations is underway.
Declaration
public bool IsResizingRow { get; }
Property Value
System.
|
IsSelecting
Gets a value indicating whether a selection operation is underway.
Declaration
public bool IsSelecting { get; }
Property Value
System.
|
Methods
GetFirstScrollableRow(VirtualGridTableElement)
Gets the first scrollable row.
Declaration
protected int GetFirstScrollableRow(VirtualGridTableElement tableElement)
Parameters
Virtual The table element. |
Returns
System.
|
GetLastScrollableRow(VirtualGridTableElement)
Gets the last scrollable row.
Declaration
protected int GetLastScrollableRow(VirtualGridTableElement tableElement)
Parameters
Virtual The table element. |
Returns
System.
|
HandleAddKey(KeyEventArgs)
Handles the Add key
Declaration
protected virtual bool HandleAddKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleAlphaNumericKey(KeyPressEventArgs)
Handles the alpha-numeric keys
Declaration
protected virtual bool HandleAlphaNumericKey(KeyPressEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleDeleteKey(KeyEventArgs)
Handles the Delete key
Declaration
protected virtual bool HandleDeleteKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleDownKey(KeyEventArgs)
Handles the Down key
Declaration
protected virtual bool HandleDownKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleEndKey(KeyEventArgs)
Handles the End key
Declaration
protected virtual bool HandleEndKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleEnterKey(KeyEventArgs)
Handles the Enter key
Declaration
protected virtual bool HandleEnterKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleEscapeKey(KeyEventArgs)
Handles the Escape key
Declaration
protected virtual bool HandleEscapeKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleF2Key(KeyEventArgs)
Handles the F2 key
Declaration
protected virtual bool HandleF2Key(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleHomeKey(KeyEventArgs)
Handles the Home key
Declaration
protected virtual bool HandleHomeKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleInsertKey(KeyEventArgs)
Handles the Insert key
Declaration
protected virtual bool HandleInsertKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleKeyDown(KeyEventArgs)
Handles the key down.
Declaration
public virtual bool HandleKeyDown(KeyEventArgs args)
Parameters
System. The System. |
Returns
System.
|
HandleKeyPress(KeyPressEventArgs)
Handles the key press.
Declaration
public virtual bool HandleKeyPress(KeyPressEventArgs args)
Parameters
System. The System. |
Returns
System.
|
HandleKeyUp(KeyEventArgs)
Handles the key up.
Declaration
public virtual bool HandleKeyUp(KeyEventArgs args)
Parameters
System. The System. |
Returns
System.
|
HandleLeftKey(KeyEventArgs)
Handles the Left key
Declaration
protected virtual bool HandleLeftKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleMouseDoubleClick(MouseEventArgs)
Handles the mouse double click.
Declaration
public virtual bool HandleMouseDoubleClick(MouseEventArgs args)
Parameters
System. The System. |
Returns
System.
|
HandleMouseDown(MouseEventArgs)
Handles the mouse down.
Declaration
public virtual bool HandleMouseDown(MouseEventArgs args)
Parameters
System. The System. |
Returns
System.
|
HandleMouseMove(MouseEventArgs)
Handles the mouse move.
Declaration
public virtual bool HandleMouseMove(MouseEventArgs args)
Parameters
System. The System. |
Returns
System.
|
HandleMouseUp(MouseEventArgs)
Handles the mouse up.
Declaration
public virtual bool HandleMouseUp(MouseEventArgs args)
Parameters
System. The System. |
Returns
System.
|
HandleMouseWheel(MouseEventArgs)
Handles the mouse wheel.
Declaration
public virtual bool HandleMouseWheel(MouseEventArgs args)
Parameters
System. The System. |
Returns
System.
|
HandlePageDownKey(KeyEventArgs)
Handle the PageDown key
Declaration
protected virtual bool HandlePageDownKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandlePageUpKey(KeyEventArgs)
Handles the PageUp key
Declaration
protected virtual bool HandlePageUpKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleRightKey(KeyEventArgs)
Handles the Right key
Declaration
protected virtual bool HandleRightKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleSpaceKey(KeyEventArgs)
Handles the Space key
Declaration
protected virtual bool HandleSpaceKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleSubtractKey(KeyEventArgs)
Handles the Subtract key
Declaration
protected virtual bool HandleSubtractKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleTabKey(KeyEventArgs)
Handles the Tab key
Declaration
protected virtual bool HandleTabKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. 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. The KeyPressEventArgs containing data related to this event |
Returns
System. Returns true if the event is processed |
HandleUpKey(KeyEventArgs)
Handles the Up key
Declaration
protected virtual bool HandleUpKey(KeyEventArgs keys)
Parameters
System. The KeyPressEventArgs containing data related to this event |
Returns
System. 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. The row index. |
System. 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. The row index. |
System. The column index. |
System. Determines if the selection should be extended as if the Shift key is pressed. |
System. Determines if the selection should be extended as if the Ctrl key is pressed. |
Virtual 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. The row index. |
System. The column index. |
Virtual The view info. |
SelectNextControl(Boolean)
Selects the next control.
Declaration
protected virtual bool SelectNextControl(bool forward)
Parameters
System. if set to |
Returns
System.
|