WebViewHandler<TJsInterop> Constructor

IMPORTANT! Please ensure that you call InitializeAsync() explicitly: wvh = new WebViewHandler(webView, null, null); _ = wvh.InitializeAsync();

public WebViewHandler(Microsoft.Web.WebView2.Wpf.WebView2 webViewBrowser, System.String webViewEnvironmentFolder, System.Object hostObject)

Parameters

webViewBrowser
WebView2 Browser instance

webViewEnvironmentFolder
hostObject
optional .NET callback object - can be null

See also:

Class WebViewHandler

© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic