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