WebViewControlNewWindowRequestedEventArgs クラス

定義

NewWindowRequested イベントのデータを提供します。

public ref class WebViewControlNewWindowRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class WebViewControlNewWindowRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class WebViewControlNewWindowRequestedEventArgs
Public NotInheritable Class WebViewControlNewWindowRequestedEventArgs
継承
Object Platform::Object IInspectable WebViewControlNewWindowRequestedEventArgs
属性

Windows の要件

デバイス ファミリ
Windows 10, version 1803 (10.0.17134.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v6.0 で導入)

注釈

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1809 17763 GetDeferral
1809 17763 NewWindow

プロパティ

Handled

ルーティング イベントを処理済みとしてマークする値を取得または設定します。

NewWindow

要求元 の 内からスクリプト呼び出しのwindow.openターゲットとして新しい WebViewControl を提供しますWebViewControl。 ターゲット Web ビュー内のコンテンツは、常にオープン Web ビュー内のコンテンツとのクロスオリジンと見なされ、その逆も同様であり、クロスオリジンの制限の対象となります。 プロパティでNewWindow提供される はWebViewControl、opener Webview と同じプロセスで実行され、移動できない new である必要があります。 プロパティの設定は NewWindow 、 プロパティよりも Handled 優先されます。 が設定されている場合 NewWindow は、指定 WebViewControl された が使用されます。 が設定されていない場合 NewWindow は、 Handled がチェックされ、新しいウィンドウ要求の動作が決定されます。

Referrer

ナビゲーションが開始されたコンテンツの URI (Uniform Resource Identifier) を取得します。

Uri

IWebViewControl が移動しようとしているコンテンツの URI (Uniform Resource Identifier) を取得します。

メソッド

GetDeferral()

遅延を取得します。

適用対象