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