Column Alignment of Header, Body and Footer
In order to set the same alignment for all columns, we need to use ColumnFormatStyle property. This style allows as aligning of all columns at the same time and independently for column header, body and footer. For example:
Me.listView1.ColumnFormatStyle.HeaderTextAlign = ContentAlignment.MiddleCenter
Me.listView1.ColumnFormatStyle.ContentAlign = HorizontalAlignment.Center
Me.listView1.ColumnFormatStyle.FooterTextAlign = ContentAlignment.MiddleRight
However, if we want to align a specific column separately from other columns, at first we must set the StyleFromParent property to false (to override the default settings). After that we can use the FormatStyle property which has the same fields for alignment of header, body and footer separately. In this case the code will be:
column.StyleFromParent = false;
column.FormatStyle.HeaderTextAlign = ContentAlignment.MiddleCenter
column.FormatStyle.ContentAlign = HorizontalAlignment.Center
column.FormatStyle.FooterTextAlign = ContentAlignment.MiddleRight
Horizontal Alignment of SubItems
All subitems by default inherit the alignment of its content from their parent column settings. In order to set alignment for each subitem separately from other subitems, just like for columns, we at first need to set StyleFromParent property to false, and then change the default alignment:
Aligns the text of this subitem to center
subItem.FormatStyle.TextAlign = ContentAlignment.MiddleCenter
Ripped from here[^]
-KR