Skip to main content

ClipboardOptions.AllowTxtFormat Property

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

Namespace: DevExpress.Export

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

[XtraSerializableProperty]
public DefaultBoolean AllowTxtFormat { get; set; }

Property Value

Type Description
DefaultBoolean

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

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