Class DataGridCopyOption
Defines the constants that specify the possible copy option in SfDataGrid.
Inheritance
System.Object
DataGridCopyOption
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public sealed class DataGridCopyOption : Enum
Fields
CopyData
Specifies the values of selected cells/rows is copied from SfDataGrid to the clipboard.
Declaration
public const DataGridCopyOption CopyData
Field Value
Type |
---|
DataGridCopyOption |
CutData
Specifies the values of selected cells/rows is cut from SfDataGrid to the clipboard.
Declaration
public const DataGridCopyOption CutData
Field Value
Type |
---|
DataGridCopyOption |
IncludeFormat
Specifies the values of selected cells/rows along with its format is copy/cut from SfDataGrid to the clipboard.
Declaration
public const DataGridCopyOption IncludeFormat
Field Value
Type |
---|
DataGridCopyOption |
IncludeHeaders
Specifies the values of selected cells/rows along with its column header values is copy/cut from SfDataGrid to the clipboard.
Declaration
public const DataGridCopyOption IncludeHeaders
Field Value
Type |
---|
DataGridCopyOption |
IncludeHiddenColumn
Specifies the values of selected rows along with hidden column values is copy/cut from SfDataGrid to the clipboard.
Declaration
public const DataGridCopyOption IncludeHiddenColumn
Field Value
Type |
---|
DataGridCopyOption |
Remarks
You can't able to copy the hidden column values when SelectionUnit as Cell.
None
Specifies the copy operation is disabled.
Declaration
public const DataGridCopyOption None
Field Value
Type |
---|
DataGridCopyOption |