Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

#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