Enum EUIAnchor
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: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public enum EUIAnchor : int
Fields
Name | Description |
---|---|
Auto | Automatically position this entity below its older sibling. |
AutoCenter | Position 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). |
AutoInline | Automatically position this entity to the right side of its older sibling, and begin a new row whenever exceeding the parent container width. |
AutoInlineNoBreak | Automatically position this entity to the right side of its older sibling, even if exceeding parent container width. |
BottomCenter | Bottom-Center of parent element. |
BottomLeft | Bottom-Left corner of parent element. |
BottomRight | Bottom-Right corner of parent element. |
Center | Center of parent element. |
CenterLeft | Center-Left of parent element. |
CenterRight | Center-Right of parent element. |
TopCenter | Top-Center of parent element. |
TopLeft | Top-Left corner of parent element. |
TopRight | Top-Right corner of parent element. |