Provides access to the ModificationsController's Cancel Action.
The Cancel Action is intended to rollback the changes made to the object selected in the current View (see BaseObjectSpace.Rollback).
This Action's Execute event is handled by the Cancel protected method, overridden in the WinModificationsController and WebModificationsController, in different ways. When executing this Action in a Windows Forms application, a confirmation dialog can be invoked, if the ModificationsController.ModificationsHandlingMode property is set to ModificationsHandlingMode.Confirmation. In this dialog, you can prevent canceling changes or confirm them. If you do not want this dialog to be invoked, set the ModificationsHandlingMode property to ModificationsHandlingMode.AutoCommit or ModificationsHandlingMode.AutoRollback. In an ASP.NET application, the confirmation message is not supported.
The Cancel Action is active when the current View is root (see View.IsRoot). Additionally, in ASP.NET applications, it is active when the View is displayed in edit mode (see DetailView.ViewEditMode). In Windows Forms applications, its active state depends on the ModificationsController.ModificationsHandlingMode property value.