CoreWebView2NewWindowRequestedEventArgs.Name 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.
Gets the name of the new window.
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String
Property Value
Remarks
This window can be created via window.open(url, windowName)
, where the windowName parameter corresponds to Name
property. If no windowName is passed to `window.open`, then the `Name` property will be set to an empty string. Additionally, if window is opened through other means, such as `` or ``, then the `Name` property will be set accordingly. In the case of target=_blank, the `Name` property will be an empty string. Opening a window via Ctrl+clicking a link would result in the Name
property being set to an empty string.