[]
Specifies how to position and align the attached element to the core element.
public enum AttachAlignment
Public Enum AttachAlignment
This is used when alignment and positioning needs to take place between 2 elements, such as an image and a text. Usually, the text will become the core element with the image being the attached element in this case.
Name | Description |
---|---|
Bottom | The attached element is at the bottom of the core element. |
BottomCenter | The attached element is at the bottom of the core element in vertical, and two element's center points have same horizontal coordinate. |
BottomLeft | The attached element is at the bottom of the core element in vertical, and two element's left edges have same horizontal coordinate. |
BottomRight | The attached element is at the bottom of the core element in vertical, and two element's right edges have same horizontal coordinate. |
Left | The attached element is at the left of the core element. |
LeftBottom | The attached element is at the left of the core element in horizontal, and two element's bottom edges have same vertial coordinate. |
LeftMiddle | The attached element is at the left of the core element in horizontal, and two element's center points have same vertial coordinate. |
LeftTop | The attached element is at the left of the core element in horizontal, and two element's top edges have same vertial coordinate. |
Right | The attached element is at the right of the core element. |
RightBottom | The attached element is at the right of the core element in horizontal, and two element's bottom edges have same vertial coordinate. |
RightMiddle | The attached element is at the right of the core element in horizontal, and two element's center points have same vertial coordinate. |
RightTop | The attached element is at the right of the core element in horizontal, and two element's top edges have same vertial coordinate. |
Top | The attached element is at the top of the core element. |
TopCenter | The attached element is at the top of the core element in vertical, and two element's center points have same horizontal coordinate. |
TopLeft | The attached element is at the top of the core element in vertical, and two element's left edges have same horizontal coordinate. |
TopRight | The attached element is at the top of the core element in vertical, and two element's right edges have same horizontal coordinate. |