CoreWebView2NewWindowRequestedEventArgs.IsUserInitiated Property
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.
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.