Back to Devexpress

GridOptionsBehavior.CopyToClipboardWithColumnHeaders Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsbehavior-fdf493e5.md

latest2.6 KB
Original Source

GridOptionsBehavior.CopyToClipboardWithColumnHeaders Property

OBSOLETE

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

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use the OptionsClipboard.CopyColumnHeaders property instead.")]
public virtual bool CopyToClipboardWithColumnHeaders { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<Obsolete("Use the OptionsClipboard.CopyColumnHeaders property instead.")>
Public Overridable Property CopyToClipboardWithColumnHeaders As Boolean

Property Value

TypeDescription
Boolean

true if column captions are copied to the Clipboard when CTRL+C is pressed or the BaseView.CopyToClipboard method is called; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to CopyToClipboardWithColumnHeaders
GridView

.OptionsBehavior .CopyToClipboardWithColumnHeaders

|

See Also

CopyToClipboard()

GridOptionsBehavior Class

GridOptionsBehavior Members

DevExpress.XtraGrid.Views.Grid Namespace