Class PasteOption
Represents the list of available paste options in RadRichTextBox.
Inheritance
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public sealed class PasteOption : Enum
Fields
KeepSourceFormatting
The local formatting and styles of the copied content is transferred to the destination document.
Declaration
public const PasteOption KeepSourceFormatting
Field Value
PasteOption
|
KeepTextOnly
Only the text content is pasted and any formatting is cleared.
Declaration
public const PasteOption KeepTextOnly
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
public const PasteOption MergeFormatting
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
public const PasteOption UseDestinationStyles
Field Value
PasteOption
|
value__
Declaration
public int value__
Field Value
System.Int32
|