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

DXRichEditCopyPasteOptions.MaintainDocumentSectionSettings Property

Gets or sets whether to retain section settings of a blank document after appending RTF content. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.RichEdit, DevExpress.Wpf.RichEdit

Declaration

public bool MaintainDocumentSectionSettings { get; set; }

Property Value

Type Description
Boolean

true, to keep section settings of a target blank document; otherwise, false.

The default is false.

Property Paths

You can access this nested property as listed below:

Object Type Path to MaintainDocumentSectionSettings
RichEditControl
.CopyPasteOptions .MaintainDocumentSectionSettings

Remarks

By default, when you copy document content to an empty document, the settings of the empty document are ignored. To prevent this, set the MaintainDocumentSectionSettings to true. Then, the copied content takes the settings of the empty document to which it is copied.

See Also