PasteCommand
Class
Pastes clipboard content into the document and disallows execution when a single shape is selected.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class PasteCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBasePasteCommand
Implements:
Inherited Members
Constructors
Initializes the command for the specified editor.
C#
public PasteCommand(RadRichTextBox editor)
The editor into which clipboard content is pasted.
Properties
Marks paste as an operation that may replace selected content for protected-range permission checks.
C#
protected override bool IsDeletingCommand { get; }
Overrides:
Methods
Rejects paste when the selection consists of a single shape; otherwise uses the base command's availability check.
Pastes clipboard content into the associated editor.
C#
protected override void ExecuteOverride(object parameter)
Not used by this command.
Overrides: