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.
Silverlight panning scrolling
Re: Silverlight panning scrolling
Hello simon,
I think that is a limitation of version of Silverlight3.0, because doesn't contemplate functionality of Mouse Button Right could lead of Mouse Button Left, as explained in next links: http://mtaulty.com/CommunityServer/blog ... pport.aspx and http://www.vectorlight.net/tutorials/si ... utton.aspx. Also,as the article says the new Silverlight 4 beta limitation it's solved.I recommend if you want works with Mouse Button Right see next web, where you can download last version of Silverlight 4 beta.
I hope will helps.
Thanks,
I think that is a limitation of version of Silverlight3.0, because doesn't contemplate functionality of Mouse Button Right could lead of Mouse Button Left, as explained in next links: http://mtaulty.com/CommunityServer/blog ... pport.aspx and http://www.vectorlight.net/tutorials/si ... utton.aspx. Also,as the article says the new Silverlight 4 beta limitation it's solved.I recommend if you want works with Mouse Button Right see next web, where you can download last version of Silverlight 4 beta.
I hope will helps.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |