silverlight 窗口跳转 全屏

来源:互联网 时间:2016-11-28

//获取当前Silverlighthot对象 Content contentObj = Application.Current.Host.Content;//using System.Windows.Interop;//修改当前应用程序的全屏属性 contentObj.IsFullScreen = !contentObj.IsFullScreen;
//窗口跳转(Application.Current.RootVisual as UserControl).Content = new Views.MainView.MainView();

相关阅读:
Top