Enum
PasteOption

Represents the list of available paste options in RadRichTextBox.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public enum PasteOption

Fields

KeepSourceFormatting

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

Declaration

cs-api-definition
KeepSourceFormatting = 0

Field Value

PasteOption

KeepTextOnly

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

Declaration

cs-api-definition
KeepTextOnly = 2

Field Value

PasteOption

MergeFormatting

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

Declaration

cs-api-definition
MergeFormatting = 1

Field Value

PasteOption

UseDestinationStyles

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

Declaration

cs-api-definition
UseDestinationStyles = 3

Field Value

PasteOption