IMessageBoxService.Show(String, String, MessageButton, MessageIcon, MessageResult) Method
Shows a message box with specified parameters.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v24.2.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
#Declaration
[Browsable(false)]
MessageResult Show(
string messageBoxText,
string caption,
MessageButton button,
MessageIcon icon,
MessageResult defaultResult
)
#Parameters
Name | Type | Description |
---|---|---|
message |
String | A text shown within the message box. |
caption | String | A caption of the message box. |
button | Message |
An object of the DevExpress. |
icon | DevExpress. |
An object of the DevExpress. |
default |
Message |
An object of the DevExpress. |
#Returns
Type | Description |
---|---|
Message |
An object of the DevExpress. |
#Remarks
To learn more, see DXMessageBoxService.
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Show(String, String, MessageButton, MessageIcon, MessageResult) method.
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.