共用方式為


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 結構中指定的顯示模式。 這適用于重 迭的Presenter (預設簡報者) 。 RequestedStartupState請檢查 屬性,以判斷呼叫AppWindow.ShowOnceWithRequestedStartupState方法所產生的簡報者狀態 (MaximizedMinimized 、 或 Restored) 。

適用於