Interface IGridBehavior
This interface defines methods that can intercept the keyboard and mouse events from RadGridView.
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public interface IGridBehavior
Properties
GridControl
The RadGridView associated with this navigator
Declaration
RadGridView GridControl { get; }
Property Value
RadGridView
|
GridViewElement
The RadGridView associated with this navigator
Declaration
RadGridViewElement GridViewElement { get; }
Property Value
RadGridViewElement
|
Methods
Initialize(RadGridViewElement)
Initializes the IGridBehavior with the specified RadGridViewElement
Declaration
void Initialize(RadGridViewElement gridRootElement)
Parameters
RadGridViewElement
gridRootElement
The RadGridViewElement to associate with this object |
OnClick(EventArgs)
Occurs when the RadGridView is clicked.
Declaration
bool OnClick(EventArgs e)
Parameters
System.EventArgs
e
Type: System.EventArgs |
Returns
System.Boolean
Returns true if the event is processed |
OnContextMenu(MouseEventArgs)
Occurs when the context menu of the RadGridView needs to be shown
Declaration
bool OnContextMenu(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The MouseEventArgs containing data related to this event |
Returns
System.Boolean
Returns true if the event is processed |
OnDoubleClick(EventArgs)
Occurs when the RadGridView is double-clicked.
Declaration
bool OnDoubleClick(EventArgs e)
Parameters
System.EventArgs
e
Type: System.EventArgs |
Returns
System.Boolean
Returns true if the event is processed |
OnMouseDoubleClick(MouseEventArgs)
Occurs when the RadGridView is double clicked by the mouse.
Declaration
bool OnMouseDoubleClick(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The MouseEventArgs containing data related to this event |
Returns
System.Boolean
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
System.Windows.Forms.MouseEventArgs
e
The MouseEventArgs containing data related to this event |
Returns
System.Boolean
Returns true if the event is processed |
OnMouseEnter(EventArgs)
Occurs when the mouse pointer enters the RadGridView.
Declaration
bool OnMouseEnter(EventArgs e)
Parameters
System.EventArgs
e
Type: System.EventArgs |
Returns
System.Boolean
Returns true if the event is processed |
OnMouseLeave(EventArgs)
Occurs when the mouse pointer leaves the RadGridView.
Declaration
bool OnMouseLeave(EventArgs e)
Parameters
System.EventArgs
e
Type: System.EventArgs |
Returns
System.Boolean
Returns true if the event is processed |
OnMouseMove(MouseEventArgs)
Occurs when the mouse pointer is moved over the RadGridView.
Declaration
bool OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The MouseEventArgs containing data related to this event |
Returns
System.Boolean
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
System.Windows.Forms.MouseEventArgs
e
The MouseEventArgs containing data related to this event |
Returns
System.Boolean
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
System.Windows.Forms.MouseEventArgs
e
The MouseEventArgs containing data related to this event |
Returns
System.Boolean
Returns true if the event is processed |
ProcessKey(KeyEventArgs)
Processes key events in RadGridView.
Declaration
bool ProcessKey(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 |
ProcessKeyDown(KeyEventArgs)
Processes key down events in RadGridView.
Declaration
bool ProcessKeyDown(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 |
ProcessKeyPress(KeyPressEventArgs)
Processes key press events in RadGridView.
Declaration
bool ProcessKeyPress(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 |
ProcessKeyUp(KeyEventArgs)
Processes key up events in RadGridView.
Declaration
bool ProcessKeyUp(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 |