WPF设置浏览器页面标题

//MainPage.xaml.cs的代码

    public partial class MainPage : Page
    {
        public MainPage()
        {
            InitializeComponent();
        }

        private void Page_Loaded(object sender, RoutedEventArgs e)
        {
            //设置浏览器页面标题
            this.WindowTitle = ConfigurationSettings.AppSettings["MainText"];
        }
    }

你可能感兴趣的:(浏览器)