Silverlight4beta finally added to the right mouse button capture support!
Before we hit the right mouse button in a SL application, we could only get a hell of a death menu "Silverlight", which displays basic information about the SL plug-in, such as version, update policy, local storage quotas, and so on (who actually pays attention to this stuff?). )
In Silverlight4beta we have the Mouserightbuttondown and Mouserightbuttonup events, through which we can capture the right mouse button! (The popup Silverlight menu is still the default behavior, I mean, if you don't set the behavior of both events.) When we set the value of mousebuttoneventargs.handled to true, that embarrassing Silverlight menu is not displayed.
All UIElement have both events (routed events) that control them and MouseLeftButtonDown and mouseleftbuttonup identical.
It should be noted that the context menu control is not provided in the Sl4beta ... Either we write it ourselves, or we wait for a third party.
Well, that's all, if you have time, then look down.
So how do we look at Silverlight after we've shielded Silverlight, and look at the following figure:
Well, yes. Now that we've installed Silverlight, we can see the Microsoft Silverlight in the Start menu, and then we can display the original Silverlight plug-in information when we click.
Source: http://024hi.cnblogs.com/