.NET Core 3.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

DialogController.CloseAction Property

Provides access to the current DialogController's Close Action.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v20.2.dll

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