OkCancelDialogAwareViewModel.CanOk method¶
Decides whether the OK button is enabled. Override it to require valid input before the dialog can be confirmed.
| parameter | description |
|---|---|
| parameter | The command parameter supplied by the button. Unused by the base implementation. |
Return Value¶
true when OK may be pressed. The base implementation always returns true.