Enum AnchorStyles
Specifies how a control anchors to the edges of its container.
[Flags]
public enum AnchorStyles
Fields
Bottom = 2
The control is anchored to the bottom edge of its container.
Left = 4
The control is anchored to the left edge of its container.
LeftRight = Left | Right
The control is anchored to the left and right edges of its container.
LeftTop = Top | Left
The control is anchored to the left and top edges of its container.
None = 0
The control is not anchored to any edges of its container.
Right = 8
The control is anchored to the right edge of its container.
Top = 1
The control is anchored to the top edge of its container.
TopBottom = Top | Bottom
The control is anchored to the top and bottom edges of its container.
Remarks
This enumeration supports a bitwise combination of its member values.