Class
GridBehaviorImpl

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public abstract class GridBehaviorImpl : IGridBehavior

Inheritance: objectGridBehaviorImpl

Derived Classes: GridRowBehaviorSplitGridBehavior

Implements: IGridBehavior

Constructors

GridBehaviorImpl()

Declaration

cs-api-definition
protected GridBehaviorImpl()

Properties

GridControl

The RadGridView associated with this navigator

Declaration

cs-api-definition
public virtual RadGridView GridControl { get; }

Property Value

RadGridView

Implements IGridBehavior.GridControl

GridViewElement

The RadGridView associated with this navigator

Declaration

cs-api-definition
public virtual RadGridViewElement GridViewElement { get; }

Property Value

RadGridViewElement

Implements IGridBehavior.GridViewElement

Methods

Initialize(RadGridViewElement)

Initializes the IGridBehavior with the specified RadGridViewElement

Declaration

cs-api-definition
public virtual void Initialize(RadGridViewElement gridRootElement)

Parameters

gridRootElement

RadGridViewElement

The RadGridViewElement to associate with this object

Implements IGridBehavior.Initialize(RadGridViewElement)

OnClick(EventArgs)

Occurs when the RadGridView is clicked.

Declaration

cs-api-definition
public abstract bool OnClick(EventArgs e)

Parameters

e

EventArgs

Type: System.EventArgs

Returns

bool

Returns true if the event is processed

Implements IGridBehavior.OnClick(EventArgs)

OnContextMenu(MouseEventArgs)

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

Declaration

cs-api-definition
public abstract bool OnContextMenu(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs containing data related to this event

Returns

bool

Returns true if the event is processed

Implements IGridBehavior.OnContextMenu(MouseEventArgs)

OnDoubleClick(EventArgs)

Occurs when the RadGridView is double-clicked.

Declaration

cs-api-definition
public abstract bool OnDoubleClick(EventArgs e)

Parameters

e

EventArgs

Type: System.EventArgs

Returns

bool

Returns true if the event is processed

Implements IGridBehavior.OnDoubleClick(EventArgs)

OnMouseDoubleClick(MouseEventArgs)

Occurs when the RadGridView is double clicked by the mouse.

Declaration

cs-api-definition
public abstract bool OnMouseDoubleClick(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs containing data related to this event

Returns

bool

Returns true if the event is processed

Implements IGridBehavior.OnMouseDoubleClick(MouseEventArgs)

OnMouseDown(MouseEventArgs)

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

Declaration

cs-api-definition
public abstract bool OnMouseDown(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs containing data related to this event

Returns

bool

Returns true if the event is processed

Implements IGridBehavior.OnMouseDown(MouseEventArgs)

OnMouseEnter(EventArgs)

Occurs when the mouse pointer enters the RadGridView.

Declaration

cs-api-definition
public abstract bool OnMouseEnter(EventArgs e)

Parameters

e

EventArgs

Type: System.EventArgs

Returns

bool

Returns true if the event is processed

Implements IGridBehavior.OnMouseEnter(EventArgs)

OnMouseLeave(EventArgs)

Occurs when the mouse pointer leaves the RadGridView.

Declaration

cs-api-definition
public abstract bool OnMouseLeave(EventArgs e)

Parameters

e

EventArgs

Type: System.EventArgs

Returns

bool

Returns true if the event is processed

Implements IGridBehavior.OnMouseLeave(EventArgs)

OnMouseMove(MouseEventArgs)

Occurs when the mouse pointer is moved over the RadGridView.

Declaration

cs-api-definition
public abstract bool OnMouseMove(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs containing data related to this event

Returns

bool

Returns true if the event is processed

Implements IGridBehavior.OnMouseMove(MouseEventArgs)

OnMouseUp(MouseEventArgs)

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

Declaration

cs-api-definition
public abstract bool OnMouseUp(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs containing data related to this event

Returns

bool

Returns true if the event is processed

Implements IGridBehavior.OnMouseUp(MouseEventArgs)

OnMouseWheel(MouseEventArgs)

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

Declaration

cs-api-definition
public abstract bool OnMouseWheel(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs containing data related to this event

Returns

bool

Returns true if the event is processed

Implements IGridBehavior.OnMouseWheel(MouseEventArgs)

ProcessKey(KeyEventArgs)

Processes key events in RadGridView.

Declaration

cs-api-definition
public abstract bool ProcessKey(KeyEventArgs keys)

Parameters

keys

KeyEventArgs

The KeyPressEventArgs containing data related to this event

Returns

bool

Returns true if the event is processed

Implements IGridBehavior.ProcessKey(KeyEventArgs)

ProcessKeyDown(KeyEventArgs)

Processes key down events in RadGridView.

Declaration

cs-api-definition
public abstract bool ProcessKeyDown(KeyEventArgs keys)

Parameters

keys

KeyEventArgs

The KeyPressEventArgs containing data related to this event

Returns

bool

Returns true if the event is processed

Implements IGridBehavior.ProcessKeyDown(KeyEventArgs)

ProcessKeyPress(KeyPressEventArgs)

Processes key press events in RadGridView.

Declaration

cs-api-definition
public abstract bool ProcessKeyPress(KeyPressEventArgs keys)

Parameters

keys

KeyPressEventArgs

The KeyPressEventArgs containing data related to this event

Returns

bool

Returns true if the event is processed

Implements IGridBehavior.ProcessKeyPress(KeyPressEventArgs)

ProcessKeyUp(KeyEventArgs)

Processes key up events in RadGridView.

Declaration

cs-api-definition
public abstract bool ProcessKeyUp(KeyEventArgs keys)

Parameters

keys

KeyEventArgs

The KeyPressEventArgs containing data related to this event

Returns

bool

Returns true if the event is processed

Implements IGridBehavior.ProcessKeyUp(KeyEventArgs)