CoreWebView2NavigationStartingEventArgs.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.
public bool IsUserInitiated { get; }
member this.IsUserInitiated : bool
Public ReadOnly Property IsUserInitiated As Boolean
Property Value
Remarks
Examples of user initiated requests are:
- Selecting an anchor tag with target
- Programmatic window open from a script that directly run as a result of user interaction such as via onclick handlers.