Kel
Kel

Reputation: 7780

Is there WinForms control for Chromium-Edge HTML renderer?

Microsoft has recently released Edge browser which uses Chromium engine to render HTML. Is there a WinForms component which allows to embed it in a desktop application?

I'm aware of CefSharp for WinForms, just looking if there's something supported natively.

Upvotes: 5

Views: 7021

Answers (1)

Reza Aghaei
Reza Aghaei

Reputation: 125197

WebView2

The Microsoft Edge WebView2 control enables you to host web content in your application using Microsoft Edge (Chromium) as the rendering engine.

The control is available on the following programming environments:

  • Win32 C/C++ (GA)
  • .NET Framework 4.6.2 or later
  • .NET Core 3.1 or later
  • .NET 5

Getting started with WebView2

  1. Install prerequisites on your machine:

  2. Create a Windows Forms Application.

  3. Install WebView2 NuGet package in your project.

  4. Drop an instance of the WebView2 from toolbox on your form.

  5. Set the Source property to a valid URL like: Https://bing.com and run the application.

More information

Note: WebView2 will replace the WebView control in the toolkit. WebView has already been marked as obsolete.

Upvotes: 6

Related Questions