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.v25.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.