Class CellDeselectEventArgs<T>
Provides information about the CellDeselecting event, and CellDeselected event.
Inherited Members
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class CellDeselectEventArgs<T> : GridEventBaseArgs
Type Parameters
Name | Description |
---|---|
T | TValue of the grid component. |
Constructors
CellDeselectEventArgs()
Declaration
public CellDeselectEventArgs()
Properties
Cancel
Gets or sets a value indicating whether to cancel the deselection of the cell.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is |
Remarks
The CellDeselected event should not be cancelled since it is triggered after the completion of a selection.
CellIndex
Gets the cell index for the currently deselected/deselecting cell.
Declaration
public int CellIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the cell that is currently being deselected or has been deselected. |
Cells
Defines the currently selected/deselected cells.
Declaration
public List<DOM> Cells { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<DOM> |
Data
Gets the row data associated with the currently deselecting or deselected cell in a grid.
Declaration
public T Data { get; }
Property Value
Type | Description |
---|---|
T | An object of type |
Event
Gets the Microsoft.AspNetCore.Components.Web.MouseEventArgs of the currently deselected/deselecting cell.
Declaration
public MouseEventArgs Event { get; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.Web.MouseEventArgs |
IsCtrlPressed
Gets a value indicating whether the CTRL key is currently pressed or not.
Declaration
public bool IsCtrlPressed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsShiftPressed
Gets a value indicating whether the SHIFT key is currently pressed or not.
Declaration
public bool IsShiftPressed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
RowIndex
Gets the index of the row for the currently deselecting or deselected cell.
Declaration
public int RowIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer representing the row index of the current deselecting or deselected cell. |