Retrieves or sets a value that indicates how the cell's caption is vertically aligned.
Type | Description | |||
Item as Variant | A long expression that indicates the item's handle | |||
ColIndex as Variant | A long expression that indicates the cell's handle or the column's index, a string expression that indicates the column's caption or the column's key. | |||
VAlignmentEnum | A VAlignmentEnum expression that indicates the cell's vertically alignment. |
The CellVAlignment property aligns vertically the cell. The CellVAligment
property aligns the +/- sign if the item contains child items. The
CellVAlignment property has effect if the item displays cells using multiple
lines. Use the CellSingleLine property to
wrap the cell's caption on multiple lines. Use the ItemHeight
property to specify the height of the item. Use the <br> built-in
HTML format to break a line, when CellValueFormat
property is exHTML. Use the CellHAlignment
property to align horizontally the cell. Use the Def(exCellVAlignment)
property to specify the same vertical alignment for the entire column.