Silverlight中的全屏相关.
http://www.cnblogs.com/gugunet/archive/2008/06/24/1228923.html
在sl中实现全屏很简单,只要在需要全屏的页面:
1.命名空间:
using System.Windows.Interop;
Content contentObj = App.Current.Host.Content;
contentObj.IsFullScreen = !contentObj.IsFullScreen;在构造函数中写入:
App.Current.Host.Content.FullScreenChanged += new EventHandler(Content_FullScreenChanged);
private void Content_FullScreenChanged(object sender, EventArgs e)
{
//一些代码

}

浙公网安备 33010602011771号