corelibraries-devexpress-dot-export-dot-clipboardoptions-9a2d1528.md
Gets or sets whether copying data in Text and UnicodeText formats is enabled.
Namespace : DevExpress.Export
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean AllowTxtFormat { get; set; }
<DefaultValue(DefaultBoolean.Default)>
Public Property AllowTxtFormat As DefaultBoolean
| 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 | 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
|
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