Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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