WebViewControlNewWindowRequestedEventArgs WebViewControlNewWindowRequestedEventArgs WebViewControlNewWindowRequestedEventArgs WebViewControlNewWindowRequestedEventArgs WebViewControlNewWindowRequestedEventArgs Class

Definition

Provides data for the NewWindowRequested event.

public : sealed class WebViewControlNewWindowRequestedEventArgs : IWebViewControlNewWindowRequestedEventArgs, IWebViewControlNewWindowRequestedEventArgs2
struct winrt::Windows::Web::UI::WebViewControlNewWindowRequestedEventArgs : IWebViewControlNewWindowRequestedEventArgs, IWebViewControlNewWindowRequestedEventArgs2
public sealed class WebViewControlNewWindowRequestedEventArgs : IWebViewControlNewWindowRequestedEventArgs, IWebViewControlNewWindowRequestedEventArgs2
Public NotInheritable Class WebViewControlNewWindowRequestedEventArgs Implements IWebViewControlNewWindowRequestedEventArgs, IWebViewControlNewWindowRequestedEventArgs2
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)

Properties

Handled Handled Handled Handled Handled

Gets or sets a value that marks the routed event as handled.

NewWindow NewWindow NewWindow NewWindow NewWindow

Provides a new WebViewControl as the target for a window.open script call from inside the requesting WebViewControl. The content in target webview is always considered cross-origin to the content in opener webview and vice versa and subject to cross-origin restrictions. The WebViewControl provided in the NewWindow property must be new, running on the same process as the opener webview and cannot have been navigated. Setting the NewWindow property takes priority over the Handled property. If NewWindow is set, then the provided WebViewControl is used. If NewWindow is not set, then Handled is checked to determine behavior for the new window request.

Referrer Referrer Referrer Referrer Referrer

Gets the Uniform Resource Identifier (URI) of the content where the navigation was initiated.

Uri Uri Uri Uri Uri

Gets the Uniform Resource Identifier (URI) of the content the IWebViewControl is attempting to navigate to.

Methods

GetDeferral() GetDeferral() GetDeferral() GetDeferral() GetDeferral()

Gets a deferral.