How can I get the page title in WebBrowser control?

后端 未结 6 645
挽巷
挽巷 2021-02-13 20:00

How can I get the page title in a WebBrowser control when I navigate to different websites?


xmlns

xmlns:phone=\"clr-namespace:Microsoft.Phone.Contr         


        
6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-13 20:41

    I'm pretty sure that

    String title = browser.Document.Title;
    

    should do the trick.

    See here.

提交回复
热议问题