Skip to main content
.NET 6.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.v24.1.dll

NuGet Package: DevExpress.ExpressApp

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.

See Also