WebUIFileSavePickerActivatedEventArgs.SplashScreen 属性

定义

获取初始屏幕对象,该对象提供有关从初始屏幕到激活应用转换的信息。

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

属性值

提供初始屏幕信息的对象。

实现

示例

初始屏幕示例演示如何在其激活的事件处理程序中检索 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 activated 事件, eventObject一个 WebUILaunchActivatedEventArgs 对象。

适用于