Language

CoreWebView2LaunchingExternalUriSchemeEventArgs.IsUserInitiated Property

Definition

true when the request was initiated through a WebView2 API, or when a renderer-initiated request reports a user gesture correlated with recent browser-observed user activation.

public bool IsUserInitiated { get; }
member this.IsUserInitiated : bool
Public ReadOnly Property IsUserInitiated As Boolean

Property Value

Remarks

This property indicates activation correlation, not that the activation caused the request or that the user intended to access the associated resource. Applications should validate the URI, scheme, and InitiatingOrigin.

Applies to