A typical implementation of an Undo button, with an optional and expandable list of operations that can be undone.
Inheritance
UndoButton
Implements
Namespace: PostSharp.Patterns.Model.Controls
Assembly: PostSharp.Patterns.Xaml.dll
Syntax
[ComVisible(false)]
[Obsolete("[Recordable] aspect and its components are deprecated and will be removed in a future version.", false)]
public class UndoButton : UndoRedoButtonBase, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource, INotifyPropertyChangedRemarks
The list shows the UndoOperations of the recorder. Operations recorded while the data is loaded also appear in this list. To hide them, call Clear() after the data is loaded.
Constructors
| Name | Description |
|---|---|
| UndoButton() | Initializes a new instance of the UndoButton class. |