IGridBehavior
This interface defines methods that can intercept the keyboard and mouse events from RadGridView.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public interface IGridBehavior
Derived Classes:
Properties
The RadGridView associated with this navigator
RadGridView GridControl { get; }
The RadGridView associated with this navigator
RadGridViewElement GridViewElement { get; }
Methods
Initializes the IGridBehavior with the specified RadGridViewElement
void Initialize(RadGridViewElement gridRootElement)
The RadGridViewElement to associate with this object
Occurs when the context menu of the RadGridView needs to be shown
bool OnContextMenu(MouseEventArgs e)
The MouseEventArgs containing data related to this event
Returns:Returns true if the event is processed
Occurs when the RadGridView is double clicked by the mouse.
bool OnMouseDoubleClick(MouseEventArgs e)
The MouseEventArgs containing data related to this event
Returns:Returns true if the event is processed
Occurs when the mouse pointer is over the RadGridView and a mouse button is pressed.
bool OnMouseDown(MouseEventArgs e)
The MouseEventArgs containing data related to this event
Returns:Returns true if the event is processed
Occurs when the mouse pointer is moved over the RadGridView.
bool OnMouseMove(MouseEventArgs e)
The MouseEventArgs containing data related to this event
Returns:Returns true if the event is processed
Occurs when the mouse pointer is over the RadGridView and a mouse button is released.
bool OnMouseUp(MouseEventArgs e)
The MouseEventArgs containing data related to this event
Returns:Returns true if the event is processed
Occurs when the mouse wheel moves while the RadGridView has focus.
bool OnMouseWheel(MouseEventArgs e)
The MouseEventArgs containing data related to this event
Returns:Returns true if the event is processed
Processes key events in RadGridView.
bool ProcessKey(KeyEventArgs keys)
The KeyPressEventArgs containing data related to this event
Returns:Returns true if the event is processed
Processes key down events in RadGridView.
bool ProcessKeyDown(KeyEventArgs keys)
The KeyPressEventArgs containing data related to this event
Returns:Returns true if the event is processed
Processes key press events in RadGridView.
bool ProcessKeyPress(KeyPressEventArgs keys)
The KeyPressEventArgs containing data related to this event
Returns:Returns true if the event is processed
Processes key up events in RadGridView.
bool ProcessKeyUp(KeyEventArgs keys)
The KeyPressEventArgs containing data related to this event
Returns:Returns true if the event is processed