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