MessageBoxCommand(Object, String, Action, Boolean, Boolean) Constructor
In This Article
Initializes a new instance of the MessageBoxCommand class with specified settings.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.WinUI.Mvvm.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
public MessageBoxCommand(
object id,
string caption,
Action action,
bool isDefault = false,
bool isCancel = false
)
#Parameters
Name | Type | Description |
---|---|---|
id | Object | A button identifier. |
caption | String | The message box command caption. |
action | Action | The command that is invoked when a user clicks the button. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
is |
Boolean | False |
|
is |
Boolean | False |
|
See Also