Class
MultipleUndoCommand

Represents a command that allows multiple undo operations in a RichTextBox. This command enables the user to revert back multiple changes made to the document.

Definition

Namespace:Telerik.Windows.Documents.RichTextBoxCommands

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class MultipleUndoCommand : RichTextBoxCommandBase, ICommand

Inheritance: objectRichTextBoxCommandBaseMultipleUndoCommand

Implements: ICommand

Inherited Members RichTextBoxCommandBase.CanExecute(object)RichTextBoxCommandBase.CanExecuteOverride(object)RichTextBoxCommandBase.Execute()RichTextBoxCommandBase.Execute(object)RichTextBoxCommandBase.GetSelectedInlineOrSelectCurrent()RichTextBoxCommandBase.Execute(object, bool)RichTextBoxCommandBase.UpdateSpanStyle()RichTextBoxCommandBase.UpdateSectionStyle()RichTextBoxCommandBase.GetCurrentParagraphStyle()RichTextBoxCommandBase.GetCurrentSpanStyle()RichTextBoxCommandBase.GetCurrentSectionStyle()RichTextBoxCommandBase.OnCanExecuteChanged()RichTextBoxCommandBase.AssociatedRichTextBoxRichTextBoxCommandBase.CanExecuteInReadOnlyModeRichTextBoxCommandBase.CanExecuteInReadOnlyRangeRichTextBoxCommandBase.IsDeletingCommandRichTextBoxCommandBase.CanExecuteBehaviorInProtectedDocumentRichTextBoxCommandBase.ShouldFocusCaretAfterExecuteRichTextBoxCommandBase.SupportedTargetsRichTextBoxCommandBase.EnabledRichTextBoxCommandBase.CanExecuteChanged

Constructors

MultipleUndoCommand(RadRichTextBox)

Declaration

cs-api-definition
public MultipleUndoCommand(RadRichTextBox editor)

Parameters

editor

RadRichTextBox

Methods

ExecuteOverride(object)

Performs the execute action specific to the command.

Declaration

cs-api-definition
protected override void ExecuteOverride(object parameter)

Parameters

parameter

object

The command parameter.

Overrides RichTextBoxCommandBase.ExecuteOverride(object)

OnDocumentHistoryChanged(EventArgs)

Invoked when the document history has changed, allowing for updates to the undo functionality.

Declaration

cs-api-definition
public virtual void OnDocumentHistoryChanged(EventArgs e)

Parameters

e

EventArgs

An EventArgs instance containing the event data.

Events

DocumentHistoryChanged

Declaration

cs-api-definition
public event EventHandler DocumentHistoryChanged

Event Value

EventHandler