BlazorWebViewInitializedEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| BlazorWebViewInitializedEventArgs() |
Initializes a new instance of BlazorWebViewInitializedEventArgs. |
| BlazorWebViewInitializedEventArgs(Object) |
Initializes a new instance of BlazorWebViewInitializedEventArgs for the specified platform-native web view control. |
BlazorWebViewInitializedEventArgs()
Initializes a new instance of BlazorWebViewInitializedEventArgs.
public:
BlazorWebViewInitializedEventArgs();
public BlazorWebViewInitializedEventArgs();
Public Sub New ()
Applies to
BlazorWebViewInitializedEventArgs(Object)
Initializes a new instance of BlazorWebViewInitializedEventArgs for the specified platform-native web view control.
public:
BlazorWebViewInitializedEventArgs(System::Object ^ platformWebView);
public BlazorWebViewInitializedEventArgs(object platformWebView);
new Microsoft.AspNetCore.Components.WebView.BlazorWebViewInitializedEventArgs : obj -> Microsoft.AspNetCore.Components.WebView.BlazorWebViewInitializedEventArgs
Public Sub New (platformWebView As Object)
Parameters
- platformWebView
- Object
The platform-native web view control that was initialized.
Exceptions
Thrown if platformWebView is null.
Remarks
This is how a handler implementing IBlazorWebViewHandler for a platform without a built-in MAUI backend surfaces its native control to application code, on target frameworks where the strongly typed WebView property is not declared.