Object Reference > True DBGrid Properties > 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
Values
Design Time |
Run Time |
0 - Top (default) |
dbgTop |
1 - Bottom |
dbgBottom |
2 - Vertical Center |
dbgVertCenter |
Read/Write at run time and design time.
Use the Alignment property to control horizontal alignment.