VerticalAlignment Property
This property returns or sets a value that determines the vertical alignment of data when the style is applied to a data cell, header, footer, or caption bar.
style.VerticalAlignment= value
Read/Write at run time and design time.
Property applies to Style object.
Values
Design Time |
Run Time |
0 - Top (default) |
dblTop |
1 - Bottom |
dblBottom |
2 - Vertical Center |
dblVertCenter |
Use the Alignment property to control horizontal alignment.
See Also