wpf-devexpress-dot-xpf-dot-core-fab88df9.md
A dialog that is visually consistent with other controls that use DevExpress visual themes.
Namespace : DevExpress.Xpf.Core
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public class DXDialog :
DXWindow
Public Class DXDialog
Inherits DXWindow
Tip
This class is outdated. Use one of the ThemedWindow.ShowDialog methods to display a Dialog.
Note
The DXDialogWindow class provides an improved implementation of a themed dialog window.
Example :
private void Button_Click_1(object sender, RoutedEventArgs e) {
DXDialog d = new DXDialog("Information", DialogButtons.Ok, true);
d.Content = new TextBlock() { Text = "This is a WPF DXDialog!" };
d.SizeToContent = System.Windows.SizeToContent.WidthAndHeight;
d.Owner = this;
d.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterOwner;
d.ShowDialog();
}
Show 11 items
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ContentControl Window DXWindow DXDialog
See Also