Alignment property


Available for ListView and UpDown objects.

Read/Write only at design time

For ListView objects, specifies how icons are aligned in an Icon or SmallIcon view. It can be one of the following values:

0 Top Icons are aligned automatically along the top of the object (default)
1 Left Icons are aligned automatically along the left side of the object

For UpDown objects, specifies how the object is attached inside the "buddy window". It can be one of the following values:

0 Unattached UpDown object is not positioned inside the "buddy window" (default)
1 Left Positions the UpDown object next to the left edge of the buddy window. The buddy window is moved to the right, and its width is decreased to accommodate the width of the UpDown object
2 Right Positions the UpDown object next to the right edge of the buddy window. The width of the buddy window is decreased to accommodate the width of the UpDown object