Skip to main content
A newer version of this page is available. .

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.v19.2.dll

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
.OptionsClipboard.CopyColumnHeaders
AdvBandedGridView
.OptionsClipboard.CopyColumnHeaders
BandedGridView
.OptionsClipboard.CopyColumnHeaders
GridView
.OptionsClipboard.CopyColumnHeaders
ResourcesTree
.OptionsClipboard.CopyColumnHeaders
TreeList
.OptionsClipboard.CopyColumnHeaders
Reporting XRDesignFieldList
.OptionsClipboard.CopyColumnHeaders
XRDesignReportExplorer
.OptionsClipboard.CopyColumnHeaders

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.

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.

See Also