CoreWebView2NewWindowRequestedEventArgs.IsUserInitiated Property

Definition

true when the new window request was initiated through a user gesture such as selecting an anchor tag with target.

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

Property Value

Remarks

The Microsoft Edge popup blocker is disabled for WebView so the app is able to use this flag to block non-user initiated popups.

Applies to