PasteMode Enum
Contains values that specify how data is pasted to a target grid/treelist control.
Namespace: DevExpress.Export
Assembly: DevExpress.Data.v24.1.dll
NuGet Package: DevExpress.Data
#Declaration
#Members
Name | Description |
---|---|
Default
|
Data Grids: The Default mode is equivalent to None (data pasting is not allowed) for controls not in master-detail mode, and for master Views in master-detail mode. For detail Views in master-detail mode, the actual paste mode is determined by master Views. Tree Lists: The Default mode is equivalent to None (data pasting is not allowed). |
Append
|
Pasted data is added as new rows to the target control. For the Win |
None
|
Data pasting is disabled. |
Update
|
Pasted data updates existing cells of the target control. |
#Related API Members
The following properties accept/return PasteMode values:
Library | Related API Members |
---|---|
Cross-Platform Class Library | Clipboard |
WPF Controls | Table |
Tree |
|
Win |
Data |
#Remarks
Paste operations are supported by the following controls:
- WinForms Data Grid’s GridView and BandedGridView (see OptionsClipboard.PasteMode)
- WinForms TreeList and GanttControl (see OptionsClipboard.PasteMode)
- WPF Data Grid’s TableView (see TableView.PasteMode)
- WPF Data Grid’s TreeListView (see TreeListView.PasteMode)