Type |
Read/Write |
VAlignment |
Yes/Yes |
The AlignBottom property is required for dynamic positioning of the control. It defines the behavior of the bottom edge of the control when the form content is changed.
The behavior depends on the setting of the property AlignTypeBottom.
VAlignment |
Description |
0 – AlignVerTop |
The bottom edge of the control is pinned to the top edge of the object, defined by AlignTypeBottom. This means that the distance between the top edge of the reference object and the bottom edge of the control never changes, no matter what height the reference object is during runtime. |
1 – AlignVerBottom |
The bottom edge of the control is pinned to the bottom edge of the object, defined by AlignTypeBottom. This means that the distance between the bottom edge of the reference object and the bottom edge of the control never changes, no matter what height the reference object is during runtime. |
2 – AlignVerProp |
The bottom edge of the control is aligned proportionally to the height of the reference object, defined by AlignTypeBottom. This means that the proportional distance of the bottom edge of the control to both the top and bottom edges of the parent object is remaining. |
3 – AlignVerMiddle |
The bottom edge of the control is pinned to the vertical center of the parent object. This means that the distance between the vertical center of the object, defined by AlignTypeBottom, and the bottom edge of the control never changes. If the height of the reference object is changed during runtime, the bottom edge of the control automatically moves relative to the vertical center of the reference object. |
4 – AlignVerPropForm |
The bottom edge of the control is aligned proportionally to the height of the window form. this means that the proportional distance of the bottom edge of the control remains to both the top and bottom edges of the window form. |