December 2014
Intermediate to advanced
512 pages
17h 4m
English
The HorizontalAlignment and VerticalAlignment properties enable an element to control what it does with any extra space that its parent panel gives it. Each property has a corresponding enumeration with the same name, giving the following options:
HorizontalAlignment—Left, Center, Right, and Stretch
VerticalAlignment—Top, Center, Bottom, and Stretch
Stretch is the default value for both properties, although various controls override the setting in their theme styles. The effects of HorizontalAlignment can easily be seen by placing a few ...
Read now
Unlock full access