Method TryGet
TryGet(TEvent, out TBinding?)
Gets the commands bound with the specified TEvent
.
public bool TryGet(TEvent eventArgs, out TBinding? binding)
Parameters
eventArgs
TEventThe
TEvent
to check.binding
TBindingWhen this method returns, contains the commands bound with the
TEvent
, if theTEvent
is not found; otherwise, null. This parameter is passed uninitialized.