New to Telerik UI for WinForms? Start a free 30-day trial

Reapplies the latest action that was undone in the editor's document history.

Definition

Constructors

Initializes the command for the specified editor and observes its document history.

C#
public RedoCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The rich text box whose document history is redone.

Properties

Gets Always so history actions can be redone in protected documents.

C#
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }

Overrides: RichTextBoxCommandBase.CanExecuteBehaviorInProtectedDocument

Gets a value indicating that redo is allowed in read-only ranges.

C#
protected override bool CanExecuteInReadOnlyRange { get; }

Overrides: RichTextBoxCommandBase.CanExecuteInReadOnlyRange

Methods

Gets whether the current document history contains an action that can be redone.

C#
protected override bool CanExecuteOverride(object parameter)
Parameters:parameterobject

Not used.

Returns:

bool

true when the document can redo; otherwise, false.

Overrides: RichTextBoxCommandBase.CanExecuteOverride(object)

Reapplies the latest action that was undone in the editor's document history.

C#
protected override void ExecuteOverride(object parameter)
Parameters:parameterobject

Not used.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)