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

ClipboardOptions.AllowTxtFormat Property

Gets or sets whether copying data in Text and UnicodeText formats is enabled.

Namespace: DevExpress.Export

Assembly: DevExpress.Data.v19.2.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AllowTxtFormat { get; set; }

Property Value

Type Default Description
DefaultBoolean **Default**

A value that specifies whether copying data in Text and UnicodeText formats is enabled. The Default value is equivalent 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 AllowTxtFormat
WinForms Controls GanttControl
.OptionsClipboard.AllowTxtFormat
AdvBandedGridView
.OptionsClipboard.AllowTxtFormat
BandedGridView
.OptionsClipboard.AllowTxtFormat
GridView
.OptionsClipboard.AllowTxtFormat
ResourcesTree
.OptionsClipboard.AllowTxtFormat
TreeList
.OptionsClipboard.AllowTxtFormat
Reporting XRDesignFieldList
.OptionsClipboard.AllowTxtFormat
XRDesignReportExplorer
.OptionsClipboard.AllowTxtFormat

Remarks

The AllowTxtFormat option is in effect if the ClipboardOptions.ClipboardMode property is set to Formatted. See Clipboard - Copy and Paste Operations. Data Formatting to learn more.

If the ClipboardOptions.ClipboardMode property is set to PlainText, the data is copied to the Clipboard as plain text, regardless of the AllowTxtFormat setting.

See Also