我是silverlight的新手。请帮我找到设置页面标题。 页面标题在Silverlight 4中
请参阅我不想/浏览器标题中的/Pages/Page1.xaml。
private void hlHome_Click(object sender, RoutedEventArgs e)
{
//HtmlDocument document = HtmlPage.Document;
//document.SetProperty("title", "Sample Title");
this.frameContainer.Navigate(new Uri("/Pages/Home.xaml", UriKind.Relative));
}
private void frameContainer_NavigationFailed(object sender, System.Windows.Navigation.NavigationFailedEventArgs e)
{
e.Handled = true;
frameContainer.Navigate(new Uri("/Pages/ErrorPage.xaml", UriKind.Relative));
}
在地址栏中完整URL的外观如何? – AnthonyWJones
@AnthonyWjones:http:// localhost:4816/SilverlightApplication1TestPage.aspx#/ Pages/Page1.xaml –