ClassDeleteCodeBlockCommand
Class
Executes the command to delete a code block from the rich text box.
Definition
Namespace:Telerik.Windows.Documents.RichTextBoxCommands
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
cs-api-definition
public class DeleteCodeBlockCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseDeleteCodeBlockCommand
Implements:
Inherited Members
Constructors
DeleteCodeBlockCommand(RadRichTextBox)
Declaration
cs-api-definition
public DeleteCodeBlockCommand(RadRichTextBox editor)
Parameters
editor
Properties
CanExecuteInReadOnlyRange
Gets a value indicating whether this command can be executed when editing context is read-only. The default implementation returns false.
Declaration
cs-api-definition
protected override bool CanExecuteInReadOnlyRange { get; }
Property Value
Overrides
IsDeletingCommand
Declaration
cs-api-definition
protected override bool IsDeletingCommand { get; }
Property Value
Overrides
Methods
CanExecuteOverride(object)
Performs a check whether the command can be executed specific to the command.
ExecuteOverride(object)
Performs the execute action specific to the command.
Declaration
cs-api-definition
protected override void ExecuteOverride(object parameter)
Parameters
parameter
The command parameter.
Overrides