WebUIFileOpenPickerActivatedEventArgs.SplashScreen WebUIFileOpenPickerActivatedEventArgs.SplashScreen WebUIFileOpenPickerActivatedEventArgs.SplashScreen WebUIFileOpenPickerActivatedEventArgs.SplashScreen WebUIFileOpenPickerActivatedEventArgs.SplashScreen Property

Definition

Gets the splash screen object that provides information about the transition from the splash screen to the activated app.

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

Property Value

The object that provides splash screen information.

Examples

The Splash screen sample demonstrates how to retrieve a splashScreen object in its activated event handler, if the app was launched:


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

In the sample, eventObject is an object provides information about the activated event. In the case of a ActivationKind.launch activated event, the eventObject is a WebUILaunchActivatedEventArgs object.