Listview column textadjustment

J

Johnny Jörgensen

The listview control's column items contain a property called TextAlign
which apparently can be either Left, Right or Center. But if you choose
anything but Left (default) the property value is immediately reset.

Does anybody know why?

I would like all my items' texts (in details view) to be centered in the
column. Can it be done? Am I missing something?

Cheers,
Johnny J.
 
A

Armin Zingler

Johnny Jörgensen said:
The listview control's column items contain a property called
TextAlign which apparently can be either Left, Right or Center. But
if you choose anything but Left (default) the property value is
immediately reset.

Does anybody know why?

I would like all my items' texts (in details view) to be centered in
the column. Can it be done? Am I missing something?


The alignment of the left column is always left. This can not be changed.


Armin
 

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