New to Telerik UI for WinFormsStart a free 30-day trial

Represents the list of available paste options in RadRichTextBox.

Definition

Namespace:Telerik.WinForms.Documents.Model

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public enum PasteOption

Fields

The local formatting and styles of the copied content is transferred to the destination document.

C#
KeepSourceFormatting = 0

Only the text content is pasted and any formatting is cleared.

C#
KeepTextOnly = 2

The formatting of the copied content is cleared, aside from FontStyle, FontWeight, UnderlineDecoration. Then the currents Span/Paragraph formatting is merged with it.

C#
MergeFormatting = 1

Elements with conflicting styles are redirected to take their style from the destination document. Any other formatting is kept the same.

C#
UseDestinationStyles = 3