Skip to content

WindowPosition ​

Namespace: Hex1b

Assembly: Hex1b.dll

Specifies how a window should be initially positioned within its container.

csharp
public enum WindowPosition

Fields ​

Absolute ​

Use explicit X, Y coordinates (specified separately).

Returns: WindowPosition

csharp
Absolute = 9

BottomLeft ​

Position at the bottom-left corner.

Returns: WindowPosition

csharp
BottomLeft = 3

BottomRight ​

Position at the bottom-right corner.

Returns: WindowPosition

csharp
BottomRight = 4

Center ​

Center the window in the container. This is the default.

Returns: WindowPosition

csharp
Center = 0

CenterBottom ​

Center horizontally, align to bottom.

Returns: WindowPosition

csharp
CenterBottom = 6

CenterLeft ​

Center vertically, align to left.

Returns: WindowPosition

csharp
CenterLeft = 7

CenterRight ​

Center vertically, align to right.

Returns: WindowPosition

csharp
CenterRight = 8

CenterTop ​

Center horizontally, align to top.

Returns: WindowPosition

csharp
CenterTop = 5

TopLeft ​

Position at the top-left corner.

Returns: WindowPosition

csharp
TopLeft = 1

TopRight ​

Position at the top-right corner.

Returns: WindowPosition

csharp
TopRight = 2

Released under the MIT License.