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

Provides data for CellBeginEdit and RowValidating events.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewCellCancelEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsGridViewCellCancelEventArgs

Derived Classes: CellValidatingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the class.

C#
public GridViewCellCancelEventArgs(GridViewRowInfo row, GridViewColumn column, IInputEditor editor)
Parameters:rowGridViewRowInfo

The GridViewRowInfo related with the cell.

columnGridViewColumn

The GridViewColumn related with the cell.

editorIInputEditor

Properties

Gets the IInputEditor related with the cell.

C#
public IInputEditor ActiveEditor { get; }

Gets the GridViewColumn related with the cell.

C#
public GridViewColumn Column { get; }

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

C#
public virtual int ColumnIndex { get; }
Property Value:

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

Gets the GridViewRowInfo related with the cell.

C#
public GridViewRowInfo Row { get; }

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

C#
public virtual int RowIndex { get; }
Property Value:

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