windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsbehavior-fdf493e5.md
Use the OptionsClipboard.CopyColumnHeaders property instead.
Gets or sets whether column captions are copied to the Clipboard, when CTRL+C is pressed or the BaseView.CopyToClipboard method is called. This property is obsolete. Use the OptionsClipboard.CopyColumnHeaders property instead.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use the OptionsClipboard.CopyColumnHeaders property instead.")]
public virtual bool CopyToClipboardWithColumnHeaders { get; set; }
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<Obsolete("Use the OptionsClipboard.CopyColumnHeaders property instead.")>
Public Overridable Property CopyToClipboardWithColumnHeaders As Boolean
| Type | Description |
|---|---|
| Boolean |
true if column captions are copied to the Clipboard when CTRL+C is pressed or the BaseView.CopyToClipboard method is called; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to CopyToClipboardWithColumnHeaders |
|---|---|
| GridView |
.OptionsBehavior .CopyToClipboardWithColumnHeaders
|
See Also