Inserts a document fragment at the caret, replacing selected content when present.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class InsertDocumentFragmentCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseInsertDocumentFragmentCommand
Implements:
Inherited Members
Constructors
Initializes the command for the specified editor.
C#
public InsertDocumentFragmentCommand(RadRichTextBox radRichTextBox)
The editor into which the fragment is inserted.
Properties
Marks fragment insertion as an operation that may replace selected content for protected-range permission checks.
C#
protected override bool IsDeletingCommand { get; }
Overrides:
Methods
Inserts the supplied fragment when the command parameter is a DocumentFragment.
C#
protected override void ExecuteOverride(object parameter)
The fragment to insert; parameters of other types are ignored.
Overrides: