Provides access to the ModificationsController‘s SaveAndClose Action.
A SimpleAction object, representing the Save and Close Action.
The SaveAndClose Action is intended to commit the changes made to the object selected in the current View, and close the View.
This Action’s Execute event is handled by the SaveAndClose protected method, overridden in the WinModificationsController and WebModificationsController in different ways. For instance, in an ASP.NET Web Forms application, the current View is not really closed, but displayed in view mode, by default.
The SaveAndClose Action is active when the current View is root (see View.IsRoot). Additionally, in ASP.NET Web Forms 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.
The SaveAndClose Action is disabled when the current user does not have permission to change the current object.