silverlight 窗口跳转 全屏

来源:互联网 发布:淘宝息肌丸有效吗 编辑:程序博客网 时间:2024/04/26 14:55
//获取当前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();
0 0
原创粉丝点击