cefsharp location change event C#

Viewed 4527

i need to know how can set event when location of web view changed on cefsharp and how can prevent not redirect to other url

        BrowserSettings browserSettings = new BrowserSettings();
        browserSettings.FileAccessFromFileUrlsAllowed = true;
        browserSettings.UniversalAccessFromFileUrlsAllowed = true;
        browserSettings.TextAreaResizeDisabled = true;
        WebView web_view;
        web_view = new WebView("http://google.com", browserSettings);
        web_view.LocationChanged += ??`enter code here`
        web_view.Dock = DockStyle.Fill;
        this.Controls.Add(web_view);
1 Answers
Related