OverlappedPresenter.RequestedStartupState 属性

定义

获取一个值,该值指定调用 AppWindow.ShowOnceWithRequestedStartupState 时窗口将假定的 OverlappedPresenterState

public:
 static property OverlappedPresenterState RequestedStartupState { OverlappedPresenterState get(); };
static OverlappedPresenterState RequestedStartupState();
public static OverlappedPresenterState RequestedStartupState { get; }
var overlappedPresenterState = OverlappedPresenter.requestedStartupState;
Public Shared ReadOnly Property RequestedStartupState As OverlappedPresenterState

属性值

枚举的值,指定启动时窗口的请求状态。

注解

AppWindow.ShowOnceWithRequestedStartupState 等效于调用 ShowWindow (SW_SHOWDEFAULT) 。 它使用 STARTUPINFO 结构中指定的显示模式(如果指定)。 这适用于 Default presenter (OverlappedPresenter) 。 RequestedStartupState检查 属性以确定将调用 AppWindow.ShowOnceWithRequestedStartupState 方法导致的演示者状态 (MaximizedMinimized、 或 Restored) 。

适用于