UndoCommand
Class
Reverts the latest action in the editor's document history.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class UndoCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseUndoCommand
Implements:
Inherited Members
Constructors
Initializes the command for the specified editor and observes its document history.
C#
public UndoCommand(RadRichTextBox editor)
The rich text box whose document history is undone.
Properties
Gets Always so history actions can be undone in protected documents.
C#
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }
Overrides:
Gets a value indicating that undo is allowed in read-only ranges.
C#
protected override bool CanExecuteInReadOnlyRange { get; }
Overrides:
Methods
Reverts the latest action in the editor's document history.
C#
protected override void ExecuteOverride(object parameter)
Not used.
Overrides: