Class
GridViewCellCancelEventArgs

Provides data for CellBeginEdit and RowValidating events.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class GridViewCellCancelEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsGridViewCellCancelEventArgs

Derived Classes: CellValidatingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

GridViewCellCancelEventArgs(GridViewRowInfo, GridViewColumn, IInputEditor)

Initializes a new instance of the class.

Declaration

cs-api-definition
public GridViewCellCancelEventArgs(GridViewRowInfo row, GridViewColumn column, IInputEditor editor)

Parameters

row

GridViewRowInfo

The GridViewRowInfo related with the cell.

column

GridViewColumn

The GridViewColumn related with the cell.

editor

IInputEditor

Properties

ActiveEditor

Gets the IInputEditor related with the cell.

Declaration

cs-api-definition
public IInputEditor ActiveEditor { get; }

Property Value

IInputEditor

Column

Gets the GridViewColumn related with the cell.

Declaration

cs-api-definition
public GridViewColumn Column { get; }

Property Value

GridViewColumn

ColumnIndex

Gets a value indicating the column index of the cell that the event occurs for.

Declaration

cs-api-definition
public virtual int ColumnIndex { get; }

Property Value

int

The index of the column containing the cell that the event occurs for.

Row

Gets the GridViewRowInfo related with the cell.

Declaration

cs-api-definition
public GridViewRowInfo Row { get; }

Property Value

GridViewRowInfo

RowIndex

Gets a value indicating the row index of the cell that the event occurs for.

Declaration

cs-api-definition
public virtual int RowIndex { get; }

Property Value

int

The index of the row containing the cell that the event occurs for.