Skip to main content
.NET Framework 4.5.2+

DialogController Class

Represents a WindowController descendant that contains Actions for pop-up Windows.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v23.1.dll

NuGet Package: DevExpress.ExpressApp


public class DialogController :


The DialogController class is a descendant of the WindowController class. It is intended to present the Accept and Cancel buttons in pop-up Windows. You can inherit from this Controller to modify its behavior.

The Dialog Controller has a peculiarity. It is not added to a Frame’s Frame.Controllers collection automatically. You should add it yourself.

Basically, the Dialog Controller is required in pop-up Windows only. There are two approaches to add a Dialog Controller to a pop-up Window:

For details, refer to the Dialog Controller topic.

Use the DialogController.AcceptAction and DialogController.CancelAction properties to access the Dialog Controller’s Accept and Cancel Actions. To change their behavior, use the DialogController.SaveOnAccept and DialogController.CanCloseWindow properties, and handle the DialogController.Accepting and DialogController.Cancelling events.

Information on the DialogController and its Actions is available in the Application Model. To access it, use the Model Editor.


See Also