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