Silverlight panning scrolling
Posted: Fri Jan 29, 2010 6:22 am
Hi guys, im wondering if the scrolling/panning in silverlight can be enabled to accept right mouse clicks.
chart.Zoom.Allow = false;
chart.Panning.Allow = ScrollModes.Both;
chart.Panning.MouseButton = System.Windows.Browser.MouseButtons.Left;
you can set the mouse button to right, but it seems to be ignored, infact, they are all ignored except for left mouse...
this event can be captured using silverlight, but it seems the component only allows events for left mouse down etc. there are no right mouse events to capture in the control?!
is there a way i can capture a right click event and enable scrolling/panning with the right mouse button whilst still maintaining left mouse for zooming? ie. winforms.
chart.Zoom.Allow = false;
chart.Panning.Allow = ScrollModes.Both;
chart.Panning.MouseButton = System.Windows.Browser.MouseButtons.Left;
you can set the mouse button to right, but it seems to be ignored, infact, they are all ignored except for left mouse...
this event can be captured using silverlight, but it seems the component only allows events for left mouse down etc. there are no right mouse events to capture in the control?!
is there a way i can capture a right click event and enable scrolling/panning with the right mouse button whilst still maintaining left mouse for zooming? ie. winforms.