Search code examples
c#wpfcefsharp

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?


Solution

  • 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);