Class
GridNewRowBehavior

Represents grid new row behavior

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class GridNewRowBehavior : GridRowBehavior, IGridBehavior, IDisposable

Inheritance: objectGridBehaviorImplGridRowBehaviorGridNewRowBehavior

Implements: IDisposableIGridBehavior

Inherited Members GridRowBehavior.Dispose()GridRowBehavior.OnClick(EventArgs)GridRowBehavior.OnDoubleClick(EventArgs)GridRowBehavior.ProcessKey(KeyEventArgs)GridRowBehavior.ProcessUnhandledKeys(KeyEventArgs)GridRowBehavior.ProcessKeyDown(KeyEventArgs)GridRowBehavior.ProcessKeyUp(KeyEventArgs)GridRowBehavior.ProcessKeyPress(KeyPressEventArgs)GridRowBehavior.OnContextMenu(MouseEventArgs)GridRowBehavior.ProcessSpaceKey(KeyEventArgs)GridRowBehavior.ProcessF2Key(KeyEventArgs)GridRowBehavior.ProcessUpKey(KeyEventArgs)GridRowBehavior.ProcessLeftKey(KeyEventArgs)GridRowBehavior.ProcessRightKey(KeyEventArgs)GridRowBehavior.ProcessTabKey(KeyEventArgs)GridRowBehavior.ProcessAddKey(KeyEventArgs)GridRowBehavior.ProcessSubtractKey(KeyEventArgs)GridRowBehavior.ProcessDeleteKey(KeyEventArgs)GridRowBehavior.ProcessHomeKey(KeyEventArgs)GridRowBehavior.ProcessEndKey(KeyEventArgs)GridRowBehavior.ProcessInsertKey(KeyEventArgs)GridRowBehavior.ProcessAlphaNumericKey(KeyPressEventArgs)GridRowBehavior.ProcessPageUpKey(KeyEventArgs)GridRowBehavior.ProcessPageDownKey(KeyEventArgs)GridRowBehavior.OnMouseEnter(EventArgs)GridRowBehavior.OnMouseLeave(EventArgs)GridRowBehavior.OnMouseMove(MouseEventArgs)GridRowBehavior.OnMouseUp(MouseEventArgs)GridRowBehavior.OnMouseDoubleClick(MouseEventArgs)GridRowBehavior.OnMouseWheel(MouseEventArgs)GridRowBehavior.OnMouseUpRight(MouseEventArgs)GridRowBehavior.SelectPositionOnMouseDownLeft(MouseEventArgs, GridRowElement, GridCellElement)GridRowBehavior.ProcessMouseSelection(Point, GridCellElement)GridRowBehavior.ResizeRow(Point)GridRowBehavior.ShowSizeNSCursort(Point)GridRowBehavior.CanResizeRow(Point, GridRowElement)GridRowBehavior.ResetControlCursor()GridRowBehavior.GetExpanderPrimitive(Point)GridRowBehavior.GetCellAtPoint(Point)GridRowBehavior.GetRowAtPoint(Point)GridRowBehavior.GetTableElementAtPoint(Point)GridRowBehavior.ValidateOnUserInput(MouseEventArgs)GridRowBehavior.ResetFieldValues()GridRowBehavior.SelectNextControl(bool)GridRowBehavior.IsOnFirstCell()GridRowBehavior.IsOnLastCell()GridRowBehavior.GetKeyboardNavigationContext(KeyEventArgs)GridRowBehavior.GetMouseNavigationContext(MouseEventArgs)GridRowBehavior.NavigatorGridRowBehavior.EditorManagerGridRowBehavior.MasterTemplateGridRowBehavior.IsPressedShiftGridRowBehavior.IsPressedControlGridRowBehavior.BeginEditModeGridRowBehavior.IsInEditModeGridRowBehavior.RootGridBehaviorGridRowBehavior.MouseDownLocationGridRowBehavior.RowToResizeGridRowBehavior.RowToResizeInitialHeightGridBehaviorImpl.Initialize(RadGridViewElement)GridBehaviorImpl.GridViewElementGridBehaviorImpl.GridControl

Constructors

GridNewRowBehavior()

Initializes a new instance of the GridNewRowBehavior class.

Declaration

cs-api-definition
public GridNewRowBehavior()

Methods

CanEnterEditMode(GridViewRowInfo)

Determines whether this instance [can enter edit mode] the specified row info.

Declaration

cs-api-definition
protected override bool CanEnterEditMode(GridViewRowInfo rowInfo)

Parameters

rowInfo

GridViewRowInfo

The row info.

Returns

bool

true if this instance [can enter edit mode] the specified row info; otherwise, false.

Overrides GridRowBehavior.CanEnterEditMode(GridViewRowInfo)

OnMouseDown(MouseEventArgs)

Raises the event.

Declaration

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

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

Returns

bool

Overrides GridRowBehavior.OnMouseDown(MouseEventArgs)

OnMouseDownLeft(MouseEventArgs)

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

Declaration

cs-api-definition
protected override bool OnMouseDownLeft(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs containing data related to this event

Returns

bool

Returns true if the event is processed

Overrides GridRowBehavior.OnMouseDownLeft(MouseEventArgs)

OnMouseDownRight(MouseEventArgs)

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

Declaration

cs-api-definition
protected override bool OnMouseDownRight(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs containing data related to this event

Returns

bool

Returns true if the event is processed

Overrides GridRowBehavior.OnMouseDownRight(MouseEventArgs)

OnMouseUpLeft(MouseEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override bool OnMouseUpLeft(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

Returns

bool

Overrides GridRowBehavior.OnMouseUpLeft(MouseEventArgs)

ProcessDownKey(KeyEventArgs)

Processes the Down key

Declaration

cs-api-definition
protected override bool ProcessDownKey(KeyEventArgs keys)

Parameters

keys

KeyEventArgs

The KeyPressEventArgs containing data related to this event

Returns

bool

Returns true if the event is processed

Overrides GridRowBehavior.ProcessDownKey(KeyEventArgs)

ProcessEnterKey(KeyEventArgs)

Processes the Enter key

Declaration

cs-api-definition
protected override bool ProcessEnterKey(KeyEventArgs keys)

Parameters

keys

KeyEventArgs

The KeyPressEventArgs containing data related to this event

Returns

bool

Returns true if the event is processed

Overrides GridRowBehavior.ProcessEnterKey(KeyEventArgs)

ProcessEscapeKey(KeyEventArgs)

Processes the Escape key

Declaration

cs-api-definition
protected override bool ProcessEscapeKey(KeyEventArgs keys)

Parameters

keys

KeyEventArgs

The KeyPressEventArgs containing data related to this event

Returns

bool

Returns true if the event is processed

Overrides GridRowBehavior.ProcessEscapeKey(KeyEventArgs)