silverlight彈出新標籤頁的方式

        private void AdminEntry_Click(object sender, RoutedEventArgs e)
        {
            HyperlinkButton button = sender as HyperlinkButton;
            System.Windows.Browser.HtmlPage.Window.Navigate(new Uri((string)button.Tag, UriKind.Absolute), "_blank", ""); 
        } 

關鍵是參數設置爲"_blank",帶下劃線spa

相關文章
相關標籤/搜索