A newer version of this page is available. Switch to the current version.

DialogController.CloseAction Property

Provides access to the current DialogController's Close Action.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v18.2.dll


public SimpleAction CloseAction { get; }
Public ReadOnly Property CloseAction As SimpleAction

Property Value

Type Description

A SimpleAction object representing the DialogController's Close Action.


The Dialog Controller contains the Close Action. This Action is not displayed in a Window where the DialogController is activated, because the Template that represents pop-up Windows does not contain the Action Container associated with the Action. However, the Close Action is executed when pressing an object in the pop-up Window's List View. The ExecuteCompleted event of this Action is handled by the DialogController.AcceptAction's ExecuteCompleted event handler, which closes the window. To perform additional operations before the ExecuteCompleted event hander is called, handle the Close Action's Execute event.

See Also