PostSharpAPI ReferencePost­Sharp.​Patterns.​Model.​ControlsUndo­Command
Open sandboxFocus

UndoCommand Class

A command that undoes a single operation in a Recorder.

Inheritance
UndoCommand
Implements
System.Windows.Input.ICommand
Namespace: PostSharp.Patterns.Model.Controls
Assembly: PostSharp.Patterns.Xaml.dll
Syntax
public sealed class UndoCommand : UndoRedoCommandBase

Constructors

Name Description
UndoCommand()

Initializes a new instance of the UndoCommand class and binds it to the DefaultRecorder.

UndoCommand(Recorder)

Initializes a new instance of the UndoCommand class and specifies to which Recorder it should be bound.