Represents a command that can copy formatting from the current selection.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class CopyFormattingCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseCopyFormattingCommand
Implements:
Inherited Members
Constructors
Initializes a new instance of the CopyFormattingCommand class.
public CopyFormattingCommand(RadRichTextBox editor)
The RadRichTextBox associated with the command.
Properties
Gets a value indicating whether the behavior of the command can be executed in a protected document.
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }
Overrides:
Gets a value indicating whether this command can be executed when RadRichTextBox is read-only. The default implementation returns false.
protected override bool CanExecuteInReadOnlyMode { get; }
true if this command preserves document's content; otherwise, false.
Overrides:
Gets a value indicating whether this command can be executed when editing context is read-only. The default implementation returns false.
protected override bool CanExecuteInReadOnlyRange { get; }
Overrides:
Methods
Performs the execute action specific to the command.
protected override void ExecuteOverride(object parameter)
The command parameter.
Overrides: