Messaging.GetUserChoice(String, String, MessageBoxButtons) Method
In This Article
Displays a warning message box with specified message text, caption and buttons.
Namespace: DevExpress.ExpressApp.Win.Core
Assembly: DevExpress.ExpressApp.Win.v24.2.dll
NuGet Packages: DevExpress.ExpressApp.Win, DevExpress.ExpressApp.Win.Design
#Declaration
public DialogResult GetUserChoice(
string message,
string caption,
MessageBoxButtons buttons
)
#Parameters
Name | Type | Description |
---|---|---|
message | String | A string which is the text displayed within the message box. |
caption | String | A string which is the message box caption. |
buttons | Message |
A Message |
#Returns
Type | Description |
---|---|
Dialog |
A Dialog |
#Remarks
This method used the Messaging.Show method to display a message box. The MessageBoxIcon.Warning icon is displayed within the message box.
See Also