.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

CustomizePopupWindowParamsEventArgs.DialogController Property

Specifies a Dialog Controller which is activated for a Pop-up Window Show Action’s pop-up Window.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v21.2.dll

Declaration

public DialogController DialogController { get; set; }

Property Value

Type Description
DialogController

A DialogController object that represents a special Controller for the pop-up Window.

Remarks

The default Dialog Controller provides the Accept and Cancel Actions that represent the OK and Cancel buttons on a pop-up Window. The captions of these buttons are specifies by the PopupWindowShowAction.AcceptButtonCaption and PopupWindowShowAction.CancelButtonCaption properties. You can implement a custom Dialog Controller and add required Actions to it. For instance, you can inherit from the DialogController class. To do this, use the XafApplication.CreateController<YourController> method. To activate it for a particular Pop-up Window Show Action’s pop-up Window, assign it to the DialogController property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DialogController property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also