Microsoft Edge WebView2 samples
Перейти к файлу
Luis Flores b7ea335115 Add sample 2022-10-04 18:26:20 -07:00
.github Update main.yml 2021-09-14 23:56:13 -07:00
GettingStartedGuides Fix image links in READMEs 2021-09-02 15:52:35 -07:00
SampleApps Add sample 2022-10-04 18:26:20 -07:00
media Add READMEs for installer samples 2020-10-17 23:11:37 -07:00
.gitignore Move projects to use latest WebView2 SDK 0.9.579-prerelease (#46) 2020-07-22 17:01:56 -07:00
README.md Update README.md 2021-08-18 13:59:51 -07:00

README.md

WebView2 Samples

This repository contains getting started apps as well as sample apps that demonstrate the features and usage patterns of WebView2. As we add more features to WebView2, we will regularly update our samples.

In the GettingStarted folder you will find the starter code for its respective guide listed below:

In the Sample Apps folder you will find:

Please leave feedback in our our feedback repo!

Win32 C/C++

Getting Started

Start with the Win32 WebView2 getting-started guide to learn how to setup a WebView within a Win32 application.

This will require downloading the Getting Started Guide directory.

Comprehensive API Sample

The Win32 C++ Sample can be found in the WebView2APISample directory and WebView2SampleWinComp directory.

Multiple WebViews Sample

The WebView2Browser is an additional Win32 WebView2 sample project that uses multiple WebViews in a single application. Clone this project by running git clone https://github.com/MicrosoftEdge/WebView2Browser.git.

Follow the WebView2Browser guide to learn how to build an application that utilizes multiple WebViews.

.NET (WPF and Windows Forms)

Getting Started

Comprehensive API Sample

UWP/WinUI

Comprehensive API Sample

The UWP WinUI Sample can be found in the WinUI Controls Gallery.

WebView2 Deployment

To help developers understand how to deploy Evergreen WebView2 Runtime with your applications, we have the following samples:

Next Steps