ClipboardOptions.CopyColumnHeaders Property
Gets or sets whether column and band headers are to be copied along with data cells.
Namespace: DevExpress.Export
Assembly: DevExpress.Data.v20.2.dll
NuGet Packages: DevExpress.Data, DevExpress.WindowsDesktop.Data
Declaration
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean CopyColumnHeaders { get; set; }
Property Value
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 |
---|---|
True | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Default | The value is determined by the current object’s parent object setting (e.g., a control setting). |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to CopyColumnHeaders |
---|---|---|
WinForms Controls | GanttControl |
|
AdvBandedGridView |
|
|
BandedGridView |
|
|
GridView |
|
|
ResourcesTree |
|
|
TreeList |
|
|
Reporting | XRDesignFieldList |
|
XRDesignReportExplorer |
|
Remarks
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CopyColumnHeaders property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.