Center align ListView column header

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top