property Column.Alignment as AlignmentEnum

Retrieves or sets the alignment of the caption into the column's header.

TypeDescription
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 control's hierarchy lines. Use the CellHAlignment property to align a particular cell. The RightToLeft property flips the order of the control's elements from right to left.