WebViewNewWindowRequestedEventArgs 类

定义

WebView.NewWindowRequested 事件提供数据。

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
继承
Object Platform::Object IInspectable WebViewNewWindowRequestedEventArgs
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

属性

Handled

获取或设置一个值,该值将路由事件标记为已处理。 Handledtrue 值可防止事件路由中的其他处理程序再次处理同一事件。

Referrer

获取发起导航的内容的统一资源标识符 (URI) 。

Uri

获取 WebView 尝试导航到的内容) 统一资源标识符 (URI。

适用于

另请参阅