Currently I want to implement a simple web browser, and now I'm stuck. I want to get name of opened page (Every tab has name according to opened page), but I can't find the solution. In C# I can use this code:
TabControl.SelectedTab.Text= webBrowser.Url.Host.ToString();
But with WPF it doesn't work. What is solution to find page name with WPF?
Anonymous User
08-Oct-2013Please try like this,
TabControl.SelectedTab.Text = webBrowser1.Url.AbsoluteUri;