There is way to use mouse to do RectangleZoom.
1. unbind the default response of your left button in your actual controller, just like this:
this.View.ActualController.UnbindMouseDown(OxyMouseButton.Left);
2. bind the RectangleZoom command to this controller:
this.View.ActualController.BindMouseDown(OxyMouseButton.Left, PlotCommands.ZoomRectangle);
that's all.
sorry for my poor English, I'm from Chinese ;)
if there's still any problem, you can contract me with my wechat:S592063
Joey
Customer support service by UserEcho
There is way to use mouse to do RectangleZoom.
1. unbind the default response of your left button in your actual controller, just like this:
this.View.ActualController.UnbindMouseDown(OxyMouseButton.Left);
2. bind the RectangleZoom command to this controller:
this.View.ActualController.BindMouseDown(OxyMouseButton.Left, PlotCommands.ZoomRectangle);
that's all.
sorry for my poor English, I'm from Chinese ;)
if there's still any problem, you can contract me with my wechat:S592063
Joey