Skip to main content

PasteMode Enum

Lists modes characterizing how the formatting of the destination document is applied to the text being pasted.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

public enum PasteMode

Members

Name Description
KeepSourceFormatting

Does not apply formatting of the destination document to the pasted text.

UseDestinationStyles

Applies the style characteristics of the surrounding text to the pasted text except for formatting specified in RTF of the text being pasted.

Related API Members

The following properties accept/return PasteMode values:

Library Related API Members
WPF Controls DXRichEditCopyPasteOptions.PasteUnstyledRtfMode
Office File API CopyPasteOptions.PasteUnstyledRtfMode

Remarks

This enumeration is used to specify the CopyPasteOptions.PasteUnstyledRtfMode property value.

See Also