Class DataGridCopyPasteCellEventArgs
Provides data for CopyCellContent and PasteCellContent events.
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridCopyPasteCellEventArgs
Constructors
DataGridCopyPasteCellEventArgs(bool, DataGridColumn, object, object)
Initializes a new instance of DataGridCopyPasteCellEventArgs class.
Declaration
public DataGridCopyPasteCellEventArgs(bool handled, DataGridColumn column, object rowData, object clipboardValue)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | handled | Indicates whether the event is canceled. |
| DataGridColumn | column | The corresponding column that contains the selected cells in row. |
| object | rowData | The data item for the row for which the event occurred. |
| object | clipboardValue | Contains the value selected cells for copy operation. |
Properties
ClipboardValue
Gets or sets an object that represents the value of the selected cells being copied.
Declaration
public object ClipboardValue { get; set; }
Property Value
| Type | Description |
|---|---|
| object | An object that contains the value of selected cells. |
Column
Gets the corresponding column that contains the selected cells in the row.
Declaration
public DataGridColumn? Column { get; }
Property Value
| Type |
|---|
| DataGridColumn |
Handled
Get or sets a value that indicates whether the CopyCellContent and PasteCellContent events have been handled.
Declaration
public bool Handled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | true if the event is handle; otherwise, false. |
RowData
Gets the data item for the row for which the event occurred.
Declaration
public object? RowData { get; }
Property Value
| Type |
|---|
| object |