Skip to content

OkCancelDialogAwareViewModel.Cancel method

Handles the Cancel button. The base implementation closes the dialog with Cancel; override it to discard pending changes first.

Namespace: Eremex.AvaloniaUI.Controls.ApplicationServices
Assembly: Eremex.Avalonia.Controls.ApplicationServices.dll
NuGet Package: Eremex.Avalonia.Controls.ApplicationServices

Declaration

public virtual void Cancel(object parameter)

Parameters

name type description
parameter object The command parameter supplied by the button. Unused by the base implementation.

See Also

Used in articles