Retrieves or sets the alignment of the caption into the column's header.
Type | Description | |||
AlignmentEnum | An AlignmentEnum expression that indicates the alignment of the cells inside the column. |
Use the Alignment property to change the column's alignment. Use the HeaderAlignment property to align the column's caption inside the column's header. By default, all columns are aligned to left. If the column displays the hierarchy lines, and if the Alignment property is RightAlignment the hierarchy lines are painted from right to left side. Use the HasLines property to display the group's hierarchy lines. Use the CellHAlignment property to align a particular cell.