禁用弹出安装 [英] Disable Popup installation
本文介绍了禁用弹出安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何禁用Microsoft Silverlight安装弹出@我的页面正在加载。
How to Disable Microsoft Silverlight Installation Popup @ My page Loading.
推荐答案
不要在该页面上放置silverlight控件。
Don''t put silverlight controls on that page.
>
您好,在您的Silverlight页面中输入以下代码:
Hi there, In your Silverlight page put this line of code:
LayoutRoot.MouseRightButtonDown += (s, e) => { e.Handled = true; }; //Disable the contextual menu
其中LayoutRoot是你的父控件(在这种情况下是Grid)。
祝你好运。
Where LayoutRoot is your parent control (Grid on this case).
Best regards.
这篇关于禁用弹出安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文