ClipboardOptions.AllowTxtFormat Property
Gets or sets whether copying data in Text and UnicodeText formats is enabled.
Namespace: DevExpress.Export
Assembly: DevExpress.Data.v18.2.dll
Declaration
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
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 | AdvBandedGridView |
|
BandedGridView |
|
|
GridView |
|
|
ResourcesTree |
|
|
TreeList |
|
|
Reporting | XRDesignFieldList |
|
XRDesignReportExplorer |
|
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.