Class CellSelectingEventArgs<T>
Provides information about an CellSelecting event.
Inherited Members
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class CellSelectingEventArgs<T> : GridEventBaseArgs
Type Parameters
| Name | Description |
|---|---|
| T | TValue of the grid component. |
Constructors
CellSelectingEventArgs()
Declaration
public CellSelectingEventArgs()
Properties
Cancel
Gets or sets a value indicating whether to cancel the selection of the cell.
Declaration
public bool Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is |
CellIndex
Gets the index of the currently selecting cell.
Declaration
public int CellIndex { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The index of the currently selecting cell. |
CurrentValue
Gets the value of the cell which is going to be selected.
Declaration
public object CurrentValue { get; }
Property Value
| Type | Description |
|---|---|
| System.Object | Returns the value of the cell which is going to be selected. |
Remarks
If the Field property is not set for a GridColumn, such as a template column or checkbox column, then the corresponding cell value will be returned as null while selecting.
Data
Gets the row data associated with the currently selecting cell.
Declaration
public T Data { get; }
Property Value
| Type | Description |
|---|---|
| T | The row data associated with the currently selecting cell. |
Event
Gets the Microsoft.AspNetCore.Components.Web.MouseEventArgs of the currently selecting cell.
Declaration
public MouseEventArgs Event { get; }
Property Value
| Type |
|---|
| Microsoft.AspNetCore.Components.Web.MouseEventArgs |
IsCtrlPressed
Gets a boolean value indicating whether the CTRL key is currently pressed.
Declaration
public bool IsCtrlPressed { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is |
IsShiftPressed
Gets a boolean value indicating whether the SHIFT key is currently pressed.
Declaration
public bool IsShiftPressed { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is |
PreviousCellIndex
Gets the previously selected cell index.
Declaration
public int PreviousCellIndex { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | An integer value representing the previously selected cell index. |
PreviousValue
Gets the value of the previously selected cell.
Declaration
public object PreviousValue { get; }
Property Value
| Type | Description |
|---|---|
| System.Object | Returns the previously selected cell value. |
Remarks
If the Field property is not set for a GridColumn, such as a template column or checkbox column, then the corresponding cell value will be returned as null while selecting.
RowIndex
Gets the index of the row associated with the currently selecting cell.
Declaration
public int RowIndex { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The index of the row associated with the currently selecting cell. |