Back to Devexpress

DXDialogWindow Class

wpf-devexpress-dot-xpf-dot-core-1c6a71fa.md

latest4.0 KB
Original Source

DXDialogWindow Class

A themed dialog window.

Namespace : DevExpress.Xpf.Core

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public class DXDialogWindow :
    DXWindow,
    IWindowSurrogate
vb
Public Class DXDialogWindow
    Inherits DXWindow
    Implements 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.

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

For example,

csharp
DXDialogWindow dialogWindow = new DXDialogWindow("Title", MessageBoxButton.OKCancel);
//...
dialogWindow.Show();
vb
Dim dialogWindow As New DXDialogWindow("Title", MessageBoxButton.OKCancel)
'...
dialogWindow.Show()

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.

wpf-pivot-grid-obtain-underlying-data/CS/ObtainUnderlyingData/MainWindow.xaml#L18

xml
<dx:DialogService.DialogStyle>
    <Style TargetType="dx:DXDialogWindow">
        <Setter Property="Height" Value="400" />

Inheritance

Show 12 items

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ContentControl Window DXWindow DXDialogWindow WinUIDialogWindow

See Also

DXDialogWindow Members

DevExpress.Xpf.Core Namespace