InterfaceIGridBehavior
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
Properties
GridControl
The RadGridView associated with this navigator
GridViewElement
The RadGridView associated with this navigator
Declaration
RadGridViewElement GridViewElement { get; }
Property Value
Methods
Initialize(RadGridViewElement)
Initializes the IGridBehavior with the specified RadGridViewElement
Declaration
void Initialize(RadGridViewElement gridRootElement)
Parameters
gridRootElement
The RadGridViewElement to associate with this object
OnClick(EventArgs)
Occurs when the RadGridView is clicked.
OnContextMenu(MouseEventArgs)
Occurs when the context menu of the RadGridView needs to be shown
Declaration
bool OnContextMenu(MouseEventArgs e)
Parameters
e
The MouseEventArgs containing data related to this event
Returns
Returns true if the event is processed
OnDoubleClick(EventArgs)
Occurs when the RadGridView is double-clicked.
OnMouseDoubleClick(MouseEventArgs)
Occurs when the RadGridView is double clicked by the mouse.
Declaration
bool OnMouseDoubleClick(MouseEventArgs e)
Parameters
e
The MouseEventArgs containing data related to this event
Returns
Returns true if the event is processed
OnMouseDown(MouseEventArgs)
Occurs when the mouse pointer is over the RadGridView and a mouse button is pressed.
Declaration
bool OnMouseDown(MouseEventArgs e)
Parameters
e
The MouseEventArgs containing data related to this event
Returns
Returns true if the event is processed
OnMouseEnter(EventArgs)
Occurs when the mouse pointer enters the RadGridView.
OnMouseLeave(EventArgs)
Occurs when the mouse pointer leaves the RadGridView.
OnMouseMove(MouseEventArgs)
Occurs when the mouse pointer is moved over the RadGridView.
Declaration
bool OnMouseMove(MouseEventArgs e)
Parameters
e
The MouseEventArgs containing data related to this event
Returns
Returns true if the event is processed
OnMouseUp(MouseEventArgs)
Occurs when the mouse pointer is over the RadGridView and a mouse button is released.
Declaration
bool OnMouseUp(MouseEventArgs e)
Parameters
e
The MouseEventArgs containing data related to this event
Returns
Returns true if the event is processed
OnMouseWheel(MouseEventArgs)
Occurs when the mouse wheel moves while the RadGridView has focus.
Declaration
bool OnMouseWheel(MouseEventArgs e)
Parameters
e
The MouseEventArgs containing data related to this event
Returns
Returns true if the event is processed
ProcessKey(KeyEventArgs)
Processes key events in RadGridView.
Declaration
bool ProcessKey(KeyEventArgs keys)
Parameters
keys
The KeyPressEventArgs containing data related to this event
Returns
Returns true if the event is processed
ProcessKeyDown(KeyEventArgs)
Processes key down events in RadGridView.
Declaration
bool ProcessKeyDown(KeyEventArgs keys)
Parameters
keys
The KeyPressEventArgs containing data related to this event
Returns
Returns true if the event is processed
ProcessKeyPress(KeyPressEventArgs)
Processes key press events in RadGridView.
Declaration
bool ProcessKeyPress(KeyPressEventArgs keys)
Parameters
keys
The KeyPressEventArgs containing data related to this event
Returns
Returns true if the event is processed
ProcessKeyUp(KeyEventArgs)
Processes key up events in RadGridView.
Declaration
bool ProcessKeyUp(KeyEventArgs keys)
Parameters
keys
The KeyPressEventArgs containing data related to this event
Returns
Returns true if the event is processed