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
Initializes a new instance of the class.
public GridViewSelectionCancelEventArgs(GridViewRowInfo row, GridViewColumn column)
The GridViewRowInfo related with the cell.
columnGridViewColumnThe GridViewColumn related with the cell.
Initializes a new instance of the GridViewSelectionCancelEventArgs class.
public GridViewSelectionCancelEventArgs(IEnumerable<GridViewRowInfo> rows, GridViewColumn column)
The rows.
columnGridViewColumnThe column.
Initializes a new instance of the GridViewSelectionCancelEventArgs class.
public GridViewSelectionCancelEventArgs(IEnumerable<GridViewRowInfo> rows, int columnStarIndex, int columnEndIndex)
The rows.
columnStarIndexintIndex of the column star.
columnEndIndexintEnd index of the column.
Properties
Gets the GridViewColumn related with the cell.
public GridViewColumn Column { get; }
This values should be used when users use the Lasso selection and selection mode is CellSelection
public int ColumnEndIndex { get; }
Gets a value indicating the column index of the cell that the event occurs for.
public virtual int ColumnIndex { get; }
The index of the column containing the cell that the event occurs for.
This values should be used when users use the Lasso selection and selection mode is CellSelection
public int ColumnStartIndex { get; }
Rows
List<GridViewRowInfo>
Gets the GridViewRowInfo related with the cell.
public List<GridViewRowInfo> Rows { get; }