WebViewNewWindowRequestedEventArgs Class

Definition

Provides data for the WebView.NewWindowRequested event.

public ref class WebViewNewWindowRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class WebViewNewWindowRequestedEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WebViewNewWindowRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class WebViewNewWindowRequestedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WebViewNewWindowRequestedEventArgs
Public NotInheritable Class WebViewNewWindowRequestedEventArgs
Inheritance
Object Platform::Object IInspectable WebViewNewWindowRequestedEventArgs
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Handled

Gets or sets a value that marks the routed event as handled. A true value for Handled prevents other handlers along the event route from handling the same event again.

Referrer

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

Uri

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

Applies to

See also