Ejemplo n.º 1
0
 /// <summary>
 /// Binds the specified command to the specified mouse 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(OxyMouseDownGesture gesture, IViewCommand<OxyMouseDownEventArgs> command)
 {
     this.BindCore(gesture, command);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Binds the specified command to the specified mouse 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(OxyMouseDownGesture gesture, IViewCommand <OxyMouseDownEventArgs> command)
 {
     this.BindCore(gesture, command);
 }