OkCancelDialogAwareViewModel.Ok method¶
Handles the OK button. The base implementation closes the dialog with Ok; override it to commit the entered data first, and skip the base call to keep the dialog open.
Namespace: Eremex.AvaloniaUI.Controls.ApplicationServices
Assembly: Eremex.Avalonia.Controls.ApplicationServices.dll
NuGet Package: Eremex.Avalonia.Controls.ApplicationServices
Declaration¶
Parameters¶
| name | type | description |
|---|---|---|
| parameter | object |
The command parameter supplied by the button. Unused by the base implementation. |