Skip to main content
A newer version of this page is available. .

DXDialogWindow Class

A themed dialog window.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v21.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public class DXDialogWindow :
    DXWindow,
    IWindowSurrogate

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.

DXDialogWindow

To declare the DXDialogWindow‘s buttons, use either of the following approaches:

For example,

DXDialogWindow dialogWindow = new DXDialogWindow("Title", MessageBoxButton.OKCancel);
//...
dialogWindow.Show();

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.

See Also