Class CellCutCopyPasteEventArgs
Provides data for CopyCellContent event.
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Events
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class CellCutCopyPasteEventArgs : GridCancelEventArgs
Constructors
CellCutCopyPasteEventArgs(Boolean, GridColumn, Object, Object, Object)
Initializes a new instance of the CellCutCopyPasteEventArgs class.
Declaration
public CellCutCopyPasteEventArgs(bool cancel, GridColumn column, object originalSender, object rowData, object clipboardValue)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | cancel | Indicates whether the event is canceled. |
GridColumn | column | The corresponding column that contains the selected cells in row. |
System.Object | originalSender | The source of the event. |
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
Cancel
Gets or sets a value indicating whether the
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the event is handle; otherwise, false. |
ClipboardValue
Gets or sets a value indicating whether the 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 GridColumn Column { get; }
Property Value
Type |
---|
GridColumn |
Record
Gets the data item for the row for which the event occurred.
Declaration
public object Record { get; }
Property Value
Type |
---|
System.Object |