Condividi tramite


WebUIFileOpenPickerActivatedEventArgs.SplashScreen Proprietà

Definizione

Ottiene l'oggetto schermata iniziale che fornisce informazioni sulla transizione dalla schermata iniziale all'app attivata.

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

Valore della proprietà

Oggetto che fornisce informazioni sulla schermata iniziale.

Implementazioni

Esempio

L'esempio di schermata iniziale illustra come recuperare un oggetto splashScreen nel gestore eventi attivato, se l'app è stata avviata:

// 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
};

Nell'esempio è eventObject un oggetto che fornisce informazioni sull'evento attivato. Nel caso di un evento ActivationKind.launch attivato, è eventObject un oggetto WebUILaunchActivatedEventArgs .

Si applica a