Class
GridViewSelectionCancelEventArgs

Provides data for CellBeginEdit and RowValidating events.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class GridViewSelectionCancelEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsGridViewSelectionCancelEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

GridViewSelectionCancelEventArgs(GridViewRowInfo, GridViewColumn)

Initializes a new instance of the class.

Declaration

cs-api-definition
public GridViewSelectionCancelEventArgs(GridViewRowInfo row, GridViewColumn column)

Parameters

row

GridViewRowInfo

The GridViewRowInfo related with the cell.

column

GridViewColumn

The GridViewColumn related with the cell.

GridViewSelectionCancelEventArgs(IEnumerable<GridViewRowInfo>, GridViewColumn)

Initializes a new instance of the GridViewSelectionCancelEventArgs class.

Declaration

cs-api-definition
public GridViewSelectionCancelEventArgs(IEnumerable<GridViewRowInfo> rows, GridViewColumn column)

Parameters

rows

IEnumerable<GridViewRowInfo>

The rows.

column

GridViewColumn

The column.

GridViewSelectionCancelEventArgs(IEnumerable<GridViewRowInfo>, int, int)

Initializes a new instance of the GridViewSelectionCancelEventArgs class.

Declaration

cs-api-definition
public GridViewSelectionCancelEventArgs(IEnumerable<GridViewRowInfo> rows, int columnStarIndex, int columnEndIndex)

Parameters

rows

IEnumerable<GridViewRowInfo>

The rows.

columnStarIndex

int

Index of the column star.

columnEndIndex

int

End index of the column.

Properties

Column

Gets the GridViewColumn related with the cell.

Declaration

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

Property Value

GridViewColumn

ColumnEndIndex

This values should be used when users use the Lasso selection and selection mode is CellSelection

Declaration

cs-api-definition
public int ColumnEndIndex { get; }

Property Value

int

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.

ColumnStartIndex

This values should be used when users use the Lasso selection and selection mode is CellSelection

Declaration

cs-api-definition
public int ColumnStartIndex { get; }

Property Value

int

Rows

Gets the GridViewRowInfo related with the cell.

Declaration

cs-api-definition
public List<GridViewRowInfo> Rows { get; }

Property Value

List<GridViewRowInfo>