DXDialog.ShowDialog(MessageBoxButton) Method
In This Article
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
public MessageBoxResult ShowDialog(
MessageBoxButton button
)
#Parameters
Name | Type | Description |
---|---|---|
button | Message |
The System. |
#Returns
Type | Description |
---|---|
Message |
The System. |
#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