WebView2AutomationPeer(WebView2) Constructor

Definition

Initializes a new instance of the WebView2AutomationPeer class.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

/// [Windows.Foundation.Metadata.Experimental]
 WebView2AutomationPeer(WebView2 const& owner);
[Windows.Foundation.Metadata.Experimental]
public WebView2AutomationPeer(WebView2 owner);
Public Sub New (owner As WebView2)

Parameters

owner
WebView2

The WebView2 control instance to create the peer for.

Attributes

Applies to