| title | WebView2 API Reference |
|---|---|
| description | API Reference for Microsoft Edge WebView2 SDK. |
| author | MSEdgeTeam |
| ms.author | msedgedevrel |
| ms.topic | article |
| ms.service | microsoft-edge |
| ms.subservice | webview |
| ms.date | 04/23/2024 |
The Microsoft Edge WebView2 control enables you to host web content in your application using Chromium-based Microsoft Edge as the rendering engine.
WebView2 is available for the following frameworks or platforms:
- Microsoft.Web.WebView2.Core - Common to all WinRT frameworks.
- COM Interop/C++ - Common to all WinRT frameworks.
- WinUI 2 (UWP)
- WinUI 3 (Windows App SDK)
Tip: When reading a non-Reference article about WebView2, to see all available documentation for a type or member, click the links in all three tabs in the article: .NET/C#, WinRT/C#, and Win32/C++.
On the web side of a WebView2 app, WebView2 exposes JavaScript APIs to the HTML documents that are running within the WebView2 control. These JavaScript APIs are mostly to support communication with the host application.