corelibraries-devexpress-dot-export-dot-clipboardoptions.md
Gets or sets whether column and band headers are to be copied along with data cells.
Namespace : DevExpress.Export
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean CopyColumnHeaders { get; set; }
<DefaultValue(DefaultBoolean.Default)>
Public Property CopyColumnHeaders As DefaultBoolean
| Type | Default | Description |
|---|---|---|
| DefaultBoolean | Default |
A value that specifies if the column and band headers are copied. The Default value is equal to DefaultBoolean.True.
|
Available values:
| Name | Description | Return Value |
|---|---|---|
| True |
The value is true.
|
0
| | False |
The value is false.
|
1
| | Default |
The value is specified by a global option or a higher-level object.
|
2
|
If the CopyColumnHeaders property set to True , column and band headers will be added to the Clipboard. Band headers are copied only when the GridView.OptionsClipboard.ClipboardMode property is set to Formatted.
See Also