MultipleUndoCommand
Undoes multiple document-history actions through a selected undo-stack index.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class MultipleUndoCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseMultipleUndoCommand
Implements:
Inherited Members
Constructors
Initializes the command for the specified editor and tracks its document history.
public MultipleUndoCommand(RadRichTextBox editor)
The rich text box whose history is undone.
Methods
Undoes each history action from the newest entry through the supplied zero-based undo-stack index. Layout updates are suspended while the sequence runs.
protected override void ExecuteOverride(object parameter)
A value convertible to the zero-based index of the last undo entry to execute.
Overrides:
Raises DocumentHistoryChanged for the associated document.
public virtual void OnDocumentHistoryChanged(EventArgs e)
Event data for the history change.
Events
Occurs when the editor's document changes or its history records or changes an action, executes undo or redo, or clears.
public event EventHandler DocumentHistoryChanged