MessageBoxCommand(Object, String, ICommand, 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,
ICommand command = null,
bool isDefault = false,
bool isCancel = false
)
#Parameters
Name | Type | Description |
---|---|---|
id | Object | The button identifier. |
caption | String | The message box command caption. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
command | ICommand | null | The command that is invoked when a user clicks the button. |
is |
Boolean | False |
|
is |
Boolean | False |
|
See Also