CopyCommand
Class
Copies the selected document elements to the clipboard; copying is allowed from read-only and protected content.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class CopyCommand : SelectionEnabledCommand, ICommand
Inheritance: objectRichTextBoxCommandBaseSelectionEnabledCommandCopyCommand
Implements:
Inherited Members
Constructors
Initializes the command for the specified editor.
C#
public CopyCommand(RadRichTextBox editor)
The editor whose selection is copied.
Properties
Allows copying from a protected document.
C#
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }
Overrides:
Allows copying while the editor is read-only.
C#
protected override bool CanExecuteInReadOnlyMode { get; }
Overrides:
Allows copying when the selection is in a read-only range.
C#
protected override bool CanExecuteInReadOnlyRange { get; }
Overrides:
Methods
Copies the selected document elements to the clipboard.
C#
protected override void ExecuteOverride(object parameter)
Not used by this command.
Overrides: