Silverlight全屏后页面的问题?急需求答案!!
我在html里嵌了Silverlight页面
在Silverlight里利用
<c1ext:C1HtmlHost x:Name="hTml" Width="Auto" Height="Auto"></c1ext:C1HtmlHost>
嵌套了另一个页面
private void tcTabPages_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (tcTabPages != null) { if (tcTabPages.SelectedIndex == 0) { } if (tcTabPages.SelectedIndex == 1) { hTml.SourceUri = new Uri(StrUri, UriKind.RelativeOrAbsolute); } if (tcTabPages.SelectedIndex == 2) { } } }
#region 地图全屏 btnSize_Click() private void btnSize_Click(object sender, RoutedEventArgs e) { Application.Current.Host.Content.IsFullScreen = !Application.Current.Host.Content.IsFullScreen; if (State == 0) { btnSize.Content = " 还 原 "; State = 1; } else { btnSize.Content = " 全 屏 "; State = 0; } } #endregion