This property returns and sets the alignment of text in a ColumnHeader object.
columnheader.Alignment [= integer]
Constant |
Value |
Description |
lvwColumnLeft | 0 | Left (default). Text is left-aligned. |
lvwColumnRight | 1 | Right. Text is right-aligned. |
lvwColumnCenter | 2 | Center. Text is centered. |
The first column in a ListView can only be left-aligned.