Skip to content

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.

public virtual void Ok(object parameter)
parameter description
parameter The command parameter supplied by the button. Unused by the base implementation.

See Also