Table of Contents

Enum Anchor

Namespace
SharpConsoleUI.Layout
Assembly
SharpConsoleUI.dll

The corner, edge, or center of the usable desktop that a placed window is aligned to.

public enum Anchor
Extension Methods

Fields

Bottom = 7

Aligned to the bottom edge, centered horizontally.

BottomLeft = 6

Aligned to the bottom-left corner.

BottomRight = 8

Aligned to the bottom-right corner.

Center = 0

Centered horizontally and vertically.

Left = 4

Aligned to the left edge, centered vertically.

Right = 5

Aligned to the right edge, centered vertically.

Top = 2

Aligned to the top edge, centered horizontally.

TopLeft = 1

Aligned to the top-left corner.

TopRight = 3

Aligned to the top-right corner.