DialogButtonViewModel.CreateCancel method¶
Creates the Cancel button, captioned in the current UI language and activated by Escape.
public static IDialogButtonViewModel CreateCancel(ICommand command, object? commandParameter = null)
| parameter | description |
|---|---|
| command | The command invoked when the button is pressed. |
| commandParameter | The value passed to command. |
Return Value¶
The button view model.
See Also¶
- class DialogButtonViewModel
- namespace Eremex.AvaloniaUI.Controls.ApplicationServices