Center align ListView column header

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I set my ListView control to Details mode; and I was able to center align the headers of 2nd, 3rd, 4th, by setting the TextAlign property of each ColumnHeader in the Columns collection. But this does not work for the first column. How can I do that ?

Note: I want to center align the header text only, not the items' text.

Thanks a lot.

Kinh Luan
 
Back
Top