Class GridViewSelectionCancelEventArgs
Provides data for CellBeginEdit and RowValidating events.
Inheritance
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewSelectionCancelEventArgs : CancelEventArgs
Constructors
GridViewSelectionCancelEventArgs(IEnumerable<GridViewRowInfo>, Int32, Int32)
Initializes a new instance of the GridViewSelectionCancelEventArgs class.
Declaration
public GridViewSelectionCancelEventArgs(IEnumerable<GridViewRowInfo> rows, int columnStarIndex, int columnEndIndex)
Parameters
System.Collections.Generic.IEnumerable<GridViewRowInfo>
rows
The rows. |
System.Int32
columnStarIndex
Index of the column star. |
System.Int32
columnEndIndex
End index of the column. |
GridViewSelectionCancelEventArgs(IEnumerable<GridViewRowInfo>, GridViewColumn)
Initializes a new instance of the GridViewSelectionCancelEventArgs class.
Declaration
public GridViewSelectionCancelEventArgs(IEnumerable<GridViewRowInfo> rows, GridViewColumn column)
Parameters
System.Collections.Generic.IEnumerable<GridViewRowInfo>
rows
The rows. |
GridViewColumn
column
The column. |
GridViewSelectionCancelEventArgs(GridViewRowInfo, GridViewColumn)
Initializes a new instance of the Telerik.WinControls.UIViewCellEventArgs class.
Declaration
public GridViewSelectionCancelEventArgs(GridViewRowInfo row, GridViewColumn column)
Parameters
GridViewRowInfo
row
The GridViewRowInfo related with the cell. |
GridViewColumn
column
The GridViewColumn related with the cell. |
Properties
Column
Gets the GridViewColumn related with the cell.
Declaration
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
public int ColumnEndIndex { get; }
Property Value
System.Int32
|
ColumnIndex
Gets a value indicating the column index of the cell that the event occurs for.
Declaration
public virtual int ColumnIndex { get; }
Property Value
System.Int32
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
public int ColumnStartIndex { get; }
Property Value
System.Int32
|
Rows
Gets the GridViewRowInfo related with the cell.
Declaration
public List<GridViewRowInfo> Rows { get; }
Property Value
System.Collections.Generic.List<GridViewRowInfo>
|