DXDialog.ShowDialog(MessageBoxButton) Method
Opens a dialog window with the specified buttons and returns only when the dialog is closed.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
button | MessageBoxButton | The System.Windows.MessageBoxButton value specifying the buttons to be displayed within the DXDialog. This value is assigned to the DXDialog.Buttons property. |
Returns
Type | Description |
---|---|
MessageBoxResult | The System.Windows.MessageBoxResult value specifying an end-user choice. |
Remarks
The ShowDialog method allows you to specify buttons to be displayed within the DXDialog via the button parameter. The specified buttons are assigned to the DXDialog.Buttons property.
The method returns an end-user’s choice as a MessageBoxResult value.
See Also