简体   繁体   中英

WPF C# CefSharp Navigate URL

I want to navigate new link like VS in webbrowser control but i can't this with wpf.

This for ie;

WebBrowser.Navigate("http://www.bing.com");

How is it done with CefSharp in WPF?

In cefsharp, you can do it like

string navigateUrl = "http://www.bing.com";
ChromiumBrowser.Address = navigateUrl;   //navigates to the URL

//or use Reload method if you want to reload it 
ChromiumBrowser.Reload(true);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM