

You can modify these browser features and turn them on or off. The WebView2 control gives your app access to many browser features. Communicate between native code and web code using simple messages, JavaScript code, and native objects. These large classes expose a wide range of APIs that your host app can access to provide the below categories of browser-related features for your users.Įmbed web content into native applications. The CoreWebView2Environment, CoreWebView2Controller, and CoreWebView2 classes (or equivalent interfaces) work together so your app can host a WebView2 browser control and access its browser features.

Main classes: Environment, Controller, and Core When hosting the WebView2 control, your app has access to the following features and APIs: Feature area This article provides a high-level grouping of the WebView2 APIs to help you understand the different things you can do using WebView2. WebView2 has hundreds of APIs that provide a vast set of capabilities, ranging from enhancing your app's native-platform capabilities, to enabling your app to modify browser experiences. Embedding the WebView2 control in your app gives your app access to various methods and properties that are provided through the WebView2 classes or interfaces.
