ClassGridViewSelectionCancelEventArgs
Provides data for CellBeginEdit and RowValidating events.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewSelectionCancelEventArgs : CancelEventArgs
Inheritance: objectEventArgsCancelEventArgsGridViewSelectionCancelEventArgs
Inherited Members
Constructors
GridViewSelectionCancelEventArgs(GridViewRowInfo, GridViewColumn)
Initializes a new instance of the class.
Declaration
public GridViewSelectionCancelEventArgs(GridViewRowInfo row, GridViewColumn column)
Parameters
row
The GridViewRowInfo related with the cell.
column
The GridViewColumn related with the cell.
GridViewSelectionCancelEventArgs(IEnumerable<GridViewRowInfo>, GridViewColumn)
Initializes a new instance of the GridViewSelectionCancelEventArgs class.
Declaration
public GridViewSelectionCancelEventArgs(IEnumerable<GridViewRowInfo> rows, GridViewColumn column)
Parameters
rows
IEnumerable<GridViewRowInfo>
The rows.
column
The column.
GridViewSelectionCancelEventArgs(IEnumerable<GridViewRowInfo>, int, int)
Initializes a new instance of the GridViewSelectionCancelEventArgs class.
Declaration
public GridViewSelectionCancelEventArgs(IEnumerable<GridViewRowInfo> rows, int columnStarIndex, int columnEndIndex)
Parameters
rows
IEnumerable<GridViewRowInfo>
The rows.
columnStarIndex
Index of the column star.
columnEndIndex
End index of the column.
Properties
Column
Gets the GridViewColumn related with the cell.
ColumnEndIndex
This values should be used when users use the Lasso selection and selection mode is CellSelection
ColumnIndex
Gets a value indicating the column index of the cell that the event occurs for.
Declaration
public virtual int ColumnIndex { get; }
Property Value
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
Rows
Gets the GridViewRowInfo related with the cell.
Declaration
public List<GridViewRowInfo> Rows { get; }
Property Value
List<GridViewRowInfo>