Method OnAccept
OnAccept(CommandContext)
Called when the Accept command is received. This occurs
- if the user clicks anywhere on the shortcut with the mouse
- if the user presses Key
- if the user presses the HotKey specified by CommandView
- if HasFocus and the user presses Space or Enter (or any other key bound to Command.Accept).
protected bool? OnAccept(CommandContext ctx)
Parameters
ctx
CommandContext
Returns
- bool?