Class DataGridCopyPasteCellEventArgs
Provides data for CopyCellContent and PasteCellContent events.
Inheritance
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridCopyPasteCellEventArgs : Object
Constructors
DataGridCopyPasteCellEventArgs(Boolean, 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 |
---|---|---|
System.Boolean | handled | Indicates whether the event is canceled. |
DataGridColumn | column | The corresponding column that contains the selected cells in row. |
System.Object | rowData | The data item for the row for which the event occurred. |
System.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 |
---|---|
System.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 |
---|---|
System.Boolean | 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 |
---|
System.Object |