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

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public abstract class GridBehaviorImpl : IGridBehavior

Inheritance: objectGridBehaviorImpl

Derived Classes: GridRowBehaviorSplitGridBehavior

Implements: IGridBehavior

Constructors

C#
protected GridBehaviorImpl()

Properties

The RadGridView associated with this navigator

C#
public virtual RadGridView GridControl { get; }

Implements: IGridBehavior.GridControl

The RadGridView associated with this navigator

C#
public virtual RadGridViewElement GridViewElement { get; }

Implements: IGridBehavior.GridViewElement

Methods

Initializes the IGridBehavior with the specified RadGridViewElement

C#
public virtual void Initialize(RadGridViewElement gridRootElement)
Parameters:gridRootElementRadGridViewElement

The RadGridViewElement to associate with this object

Implements: IGridBehavior.Initialize(RadGridViewElement)

Occurs when the RadGridView is clicked.

C#
public abstract bool OnClick(EventArgs e)
Parameters:eEventArgs

Type: System.EventArgs

Returns:

bool

Returns true if the event is processed

Implements: IGridBehavior.OnClick(EventArgs)

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

C#
public abstract bool OnContextMenu(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Implements: IGridBehavior.OnContextMenu(MouseEventArgs)

Occurs when the RadGridView is double-clicked.

C#
public abstract bool OnDoubleClick(EventArgs e)
Parameters:eEventArgs

Type: System.EventArgs

Returns:

bool

Returns true if the event is processed

Implements: IGridBehavior.OnDoubleClick(EventArgs)

Occurs when the RadGridView is double clicked by the mouse.

C#
public abstract bool OnMouseDoubleClick(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Implements: IGridBehavior.OnMouseDoubleClick(MouseEventArgs)

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

C#
public abstract bool OnMouseDown(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Implements: IGridBehavior.OnMouseDown(MouseEventArgs)

Occurs when the mouse pointer enters the RadGridView.

C#
public abstract bool OnMouseEnter(EventArgs e)
Parameters:eEventArgs

Type: System.EventArgs

Returns:

bool

Returns true if the event is processed

Implements: IGridBehavior.OnMouseEnter(EventArgs)

Occurs when the mouse pointer leaves the RadGridView.

C#
public abstract bool OnMouseLeave(EventArgs e)
Parameters:eEventArgs

Type: System.EventArgs

Returns:

bool

Returns true if the event is processed

Implements: IGridBehavior.OnMouseLeave(EventArgs)

Occurs when the mouse pointer is moved over the RadGridView.

C#
public abstract bool OnMouseMove(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Implements: IGridBehavior.OnMouseMove(MouseEventArgs)

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

C#
public abstract bool OnMouseUp(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Implements: IGridBehavior.OnMouseUp(MouseEventArgs)

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

C#
public abstract bool OnMouseWheel(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Implements: IGridBehavior.OnMouseWheel(MouseEventArgs)

Processes key events in RadGridView.

C#
public abstract bool ProcessKey(KeyEventArgs keys)
Parameters:keysKeyEventArgs

The KeyPressEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Implements: IGridBehavior.ProcessKey(KeyEventArgs)

Processes key down events in RadGridView.

C#
public abstract bool ProcessKeyDown(KeyEventArgs keys)
Parameters:keysKeyEventArgs

The KeyPressEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Implements: IGridBehavior.ProcessKeyDown(KeyEventArgs)

Processes key press events in RadGridView.

C#
public abstract bool ProcessKeyPress(KeyPressEventArgs keys)
Parameters:keysKeyPressEventArgs

The KeyPressEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Implements: IGridBehavior.ProcessKeyPress(KeyPressEventArgs)

Processes key up events in RadGridView.

C#
public abstract bool ProcessKeyUp(KeyEventArgs keys)
Parameters:keysKeyEventArgs

The KeyPressEventArgs containing data related to this event

Returns:

bool

Returns true if the event is processed

Implements: IGridBehavior.ProcessKeyUp(KeyEventArgs)