/// <summary> /// Binds the specified command to the specified key gesture. Removes old bindings to the gesture. /// </summary> /// <param name="gesture">The gesture.</param> /// <param name="command">The command. If <c>null</c>, the binding will be removed.</param> public virtual void Bind(OxyKeyGesture gesture, IViewCommand<OxyKeyEventArgs> command) { this.BindCore(gesture, command); }
/// <summary> /// Binds the specified command to the specified key gesture. Removes old bindings to the gesture. /// </summary> /// <param name="gesture">The gesture.</param> /// <param name="command">The command. If <c>null</c>, the binding will be removed.</param> public virtual void Bind(OxyKeyGesture gesture, IViewCommand <OxyKeyEventArgs> command) { this.BindCore(gesture, command); }