OverlappedPresenter.RequestedStartupState Property

Definition

Gets a value that specifies the OverlappedPresenterState that the window will assume when AppWindow.ShowOnceWithRequestedStartupState is called.

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

Property Value

A value of the enumeration that specifies the requested state of the window on startup.

Remarks

AppWindow.ShowOnceWithRequestedStartupState is the equivalent of calling ShowWindow(SW_SHOWDEFAULT). It uses the show mode specified in the STARTUPINFO struct, if specified. This applies to the default presenter (OverlappedPresenter). Check the RequestedStartupState property to determine the presenter state (Maximized, Minimized, or Restored) that will result from calling the AppWindow.ShowOnceWithRequestedStartupState method.

Applies to