NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IUndoService Members

Properties

Enabled Gets or sets the current state of the current undo service.
RedoActionList Gets or sets an array of type IActionUnit that contains the redo actions that represent actions that have been undone.
UndoActionList Gets or sets an array of type IActionUnit that contains the undo actions that represent actions that have been undone.

Methods

AddAction Overloaded. [To be supplied.]
CanAddAction Gets whether the current action can be added to the IUndoService implementation.
DiscardRedoItems Clears actions from the redo stack before and including the specified action.
DiscardUndoItems Clears actions from the undo stack before and including the specified action.
RedoActions Redoes the specified number of actions.
RedoActionsTo Instructs the undo service to invoke redo actions down to and including action.
SetEnabledAutoReset Enables or disables the current undo service.
UndoActions Undoes the specified number of actions.
UndoActionsTo Instructs the undo service to invoke undo actions down to and including the specified action.

Events

ActionAdded [To be supplied.]
Redo [To be supplied.]
Undo [To be supplied.]

Event Hookup:

Methods

AddOnActionAdded Adds an event handler to be invoked when a new action is added to the service.
AddOnRedo Adds a handler to be invoked when an action is redone.
AddOnUndo Adds a handler to be invoked when an action is undone.
RemoveOnActionAdded Removes an event handler that would be invoked when a new action is added to the service.
RemoveOnRedo Removes a handler to be invoked when an action is redone.
RemoveOnUndo Removes a handler to be invoked when an action is undone.

See Also

IUndoService Interface | System.ComponentModel.Design Namespace