Method RegisterContext
RegisterContext(ActionContext, string)
Records all items contained in an action context. Use this method to record all objects inside the context.
Declaration
public static void RegisterContext(ActionContext context, string undoTitle)
Parameters
Type | Name | Description |
---|---|---|
ActionContext | context | The action context to record into the Undo system. |
string | undoTitle | The title of the action to appear in the undo history (i.e. visible in the undo menu). |