Back to Devexpress

ClipboardOptions.CopyColumnHeaders Property

corelibraries-devexpress-dot-export-dot-clipboardoptions.md

latest1.8 KB
Original Source

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

NuGet Package : DevExpress.Data

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean CopyColumnHeaders { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
Public Property CopyColumnHeaders As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A value that specifies if the column and band headers are copied. The Default value is equal to DefaultBoolean.True.

|

Available values:

NameDescriptionReturn 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

Clipboard

ClipboardOptions Class

ClipboardOptions Members

DevExpress.Export Namespace