Class BeforeCellPasteEventArgs<T>
Provides information about the BeforeCellPaste event.
Inherited Members
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class BeforeCellPasteEventArgs<T> : GridEventBaseArgs
Type Parameters
Name | Description |
---|---|
T | TValue of grid component. |
Constructors
BeforeCellPasteEventArgs()
Declaration
public BeforeCellPasteEventArgs()
Properties
Cancel
Gets or sets a value indicating whether to cancel the paste action of the cell in grid.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is |
CellValue
Gets or sets the value being pasted in the cell. You can modify the value using BeforeCellPaste event.
Declaration
public string CellValue { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string value being pasted in the cell. The default value is |
ColumnIndex
Gets the column index of the cell associated with a paste action.
Declaration
public int ColumnIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer value that represents the column index of the cell associated with the paste action. |
ColumnName
Gets the Field name associated with the cell being pasted.
Declaration
public string ColumnName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the field associated with the cell being pasted. |
Data
Gets the selected row data of the cell associated with a paste action.
Declaration
public T Data { get; }
Property Value
Type | Description |
---|---|
T | The data of the selected row. |
RowIndex
Gets the row index of the cell associated with a paste action.
Declaration
public int RowIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the row associated with the paste action. |