Skip to main content

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

NuGet Package: DevExpress.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 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

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.

See Also