DXDialogWindow Class
A themed dialog window.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Related API Members
The following members return DXDialogWindow objects:
Remarks
Tip
This class is outdated. Use the Themed Window’s static Show methods to display a dialog window that supports DevExpress themes.
The DXDialogWindow is a DXWindow descendant. Use it to show a dialog window with a custom content and a set of buttons located on the bottom.
To declare the DXDialogWindow‘s buttons, use either of the following approaches:
- Specify the commands or dialogButtons parameter in the corresponding DXDialogWindow‘s constructor (see DXDialogWindow).
- Intialize the DXDialogWindow.CommandsSource property with a collection of UICommand objects.
For example,
DXDialogWindow dialogWindow = new DXDialogWindow("Title", MessageBoxButton.OKCancel);
//...
dialogWindow.Show();
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DXDialogWindow class.
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.