WebUICachedFileUpdaterActivatedEventArgs.SplashScreen プロパティ

定義

スプラッシュ スクリーンからアクティブ化されたアプリへの切り替えに関する情報を提供するスプラッシュ スクリーン オブジェクトを取得します。

public:
 property SplashScreen ^ SplashScreen { SplashScreen ^ get(); };
SplashScreen SplashScreen();
public SplashScreen SplashScreen { get; }
var splashScreen = webUICachedFileUpdaterActivatedEventArgs.splashScreen;
Public ReadOnly Property SplashScreen As SplashScreen

プロパティ値

スプラッシュ スクリーン情報を提供する オブジェクト。

実装

Splash screen サンプルは、アプリが起動された場合に、アクティブ化されたイベント ハンドラーで splashScreen オブジェクトを取得する方法を示しています。

// Identify and respond to all app activated events.
WinJS.Application.onactivated = function (eventObject) {

    // App was launched
    if (eventObject.detail.kind === Windows.ApplicationModel.Activation.ActivationKind.launch) {
        // Retrieve splash screen object
        splash = eventObject.detail.splashScreen;

        // Add code get image coordinates or listen for the dismissed event

        WinJS.UI.processAll();
    }
    // Add code to respond to other activated event types
};

サンプルでは、 eventObject はアクティブ化されたイベントに関する情報を提供する オブジェクトです。 ActivationKind.launch のアクティブ化されたイベントの場合、 eventObjectWebUILaunchActivatedEventArgs オブジェクトです。

適用対象