Skip to main content
.NET 8.0+

DialogController.CloseAction Property

Provides access to the current DialogController’s Close Action.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public SimpleAction CloseAction { get; }

Property Value

Type Description
SimpleAction

A SimpleAction object representing the DialogController’s Close Action.

Remarks

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