New to Telerik UI for WinFormsStart a free 30-day trial

IGridBehavior

Interface

This interface defines methods that can intercept the keyboard and mouse events from RadGridView.

Definition

Properties

The RadGridView associated with this navigator

C#
RadGridView GridControl { get; }

The RadGridView associated with this navigator

C#
RadGridViewElement GridViewElement { get; }

Methods

Initializes the IGridBehavior with the specified RadGridViewElement

C#
void Initialize(RadGridViewElement gridRootElement)
Parameters:gridRootElementRadGridViewElement

The RadGridViewElement to associate with this object

Occurs when the RadGridView is clicked.

C#
bool OnClick(EventArgs e)
Parameters:eEventArgs

Type: System.EventArgs

Returns:

bool

Returns true if the event is processed

Occurs when the context menu of the RadGridView needs to be shown

C#
bool OnContextMenu(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Occurs when the RadGridView is double-clicked.

C#
bool OnDoubleClick(EventArgs e)
Parameters:eEventArgs

Type: System.EventArgs

Returns:

bool

Returns true if the event is processed

Occurs when the RadGridView is double clicked by the mouse.

C#
bool OnMouseDoubleClick(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Occurs when the mouse pointer is over the RadGridView and a mouse button is pressed.

C#
bool OnMouseDown(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Occurs when the mouse pointer enters the RadGridView.

C#
bool OnMouseEnter(EventArgs e)
Parameters:eEventArgs

Type: System.EventArgs

Returns:

bool

Returns true if the event is processed

Occurs when the mouse pointer leaves the RadGridView.

C#
bool OnMouseLeave(EventArgs e)
Parameters:eEventArgs

Type: System.EventArgs

Returns:

bool

Returns true if the event is processed

Occurs when the mouse pointer is moved over the RadGridView.

C#
bool OnMouseMove(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Occurs when the mouse pointer is over the RadGridView and a mouse button is released.

C#
bool OnMouseUp(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Occurs when the mouse wheel moves while the RadGridView has focus.

C#
bool OnMouseWheel(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Processes key events in RadGridView.

C#
bool ProcessKey(KeyEventArgs keys)
Parameters:keysKeyEventArgs

The KeyPressEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Processes key down events in RadGridView.

C#
bool ProcessKeyDown(KeyEventArgs keys)
Parameters:keysKeyEventArgs

The KeyPressEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Processes key press events in RadGridView.

C#
bool ProcessKeyPress(KeyPressEventArgs keys)
Parameters:keysKeyPressEventArgs

The KeyPressEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Processes key up events in RadGridView.

C#
bool ProcessKeyUp(KeyEventArgs keys)
Parameters:keysKeyEventArgs

The KeyPressEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed