Click or drag to resize
Anchor Enumeration
An Anchor is a pre-defined position in parent entity that we use to position a child. For eample, we can use anchors to position an entity at the bottom-center point of its parent. Note: anchor affect both the position relative to parent and also the offset origin point of the entity.

Namespace:  GeonBit.UI.Entities
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public enum Anchor
Members
  Member nameValueDescription
Center0Center of parent element.
TopLeft1Top-Left corner of parent element.
TopRight2Top-Right corner of parent element.
TopCenter3Top-Center of parent element.
BottomLeft4Bottom-Left corner of parent element.
BottomRight5Bottom-Right corner of parent element.
BottomCenter6Bottom-Center of parent element.
CenterLeft7Center-Left of parent element.
CenterRight8Center-Right of parent element.
Auto9Automatically position this entity below its older sibling.
AutoInline10Automatically position this entity to the right side of its older sibling, and begin a new row whenever exceeding the parent container width.
AutoInlineNoBreak11Automatically position this entity to the right side of its older sibling, even if exceeding parent container width.
AutoCenter12Position of the older sibling bottom, eg align this entity based on its older sibling, but center on X axis. Use this property to place entities one after another but keep them aligned to center (especially paragraphs).
See Also