Is there WinForms control for Chromium-Edge HTML renderer?

半世苍凉 提交于 2021-01-21 09:08:29

问题


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.


回答1:


WebView2 - Developer Preview

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

The developer preview is available on the following programming environments:

  • Win32 C/C++
  • .NET Framework 4.6.2 or later
  • .NET Core 3.0 or later
  • WinUI 3.0.

Notice

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

Sample C++ Win32 Application

  • WebView2 API Sample for a comprehensive example of our SDKs capabilities.
  • WebView2Browser an application built using WebView2.
  • Getting Started with WebView2

Sample WinForms Application

  • Sample WinForms Application - GitHub Repository
  • Getting started with WebView2 in Windows Forms apps (Preview)


来源:https://stackoverflow.com/questions/59959606/is-there-winforms-control-for-chromium-edge-html-renderer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!