共用方式為


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) 。

適用於

另請參閱