Struct WindowPlacement
Contains information about the placement of a window on the screen.
Namespace: Dapplo.Windows.User32.Structs
Assembly: Dapplo.Windows.User32.dll
Syntax
public struct WindowPlacement
Fields
| Improve this Doc View SourceFlags
Specifies flags that control the position of the minimized window and the method by which the window is restored.
Declaration
public WindowPlacementFlags Flags
Field Value
Type | Description |
---|---|
WindowPlacementFlags |
MaxPosition
The coordinates of the window's upper-left corner when the window is maximized.
Declaration
public POINT MaxPosition
Field Value
Type | Description |
---|---|
POINT |
MinPosition
The coordinates of the window's upper-left corner when the window is minimized.
Declaration
public POINT MinPosition
Field Value
Type | Description |
---|---|
POINT |
NormalPosition
The window's coordinates when the window is in the restored position.
Declaration
public RECT NormalPosition
Field Value
Type | Description |
---|---|
RECT |
ShowCmd
The current show state of the window.
Declaration
public ShowWindowCommands ShowCmd
Field Value
Type | Description |
---|---|
ShowWindowCommands |
Methods
| Improve this Doc View SourceCreate()
Gets the default (empty) value.
Declaration
public static WindowPlacement Create()
Returns
Type | Description |
---|---|
WindowPlacement |