UndoCommand Class |
PostSharp.Patterns.Model.Controls.UndoRedoCommandBase
PostSharp.Patterns.Model.Controls.UndoCommand
Namespace: PostSharp.Patterns.Model.Controls
Assembly: PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 6.6.14.0 (6.6.14.0)
public sealed class UndoCommand : UndoRedoCommandBase
The UndoCommand type exposes the following members.
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.
|
Name | Description | |
---|---|---|
Recorder |
Gets the Recorder bound to this command.
(Inherited from UndoRedoCommandBase.) |
Name | Description | |
---|---|---|
CanExecute | Defines the method that determines whether the command can execute in its current state. (Inherited from UndoRedoCommandBase.) | |
Execute | Defines the method to be called when the command is invoked. (Inherited from UndoRedoCommandBase.) |
Name | Description | |
---|---|---|
CanExecuteChanged | Occurs when changes occur that affect whether or not the command should execute. (Inherited from UndoRedoCommandBase.) |