Hi,
I have a column header in listview called number, and the value is numeric value. But display in the column not show in proper alignment:
Number
100
9
23
I want to show it in right alignment for integer or double as following:
Number
100
9
23
int p = 10;
Thanks for help
I have a column header in listview called number, and the value is numeric value. But display in the column not show in proper alignment:
Number
100
9
23
I want to show it in right alignment for integer or double as following:
Number
100
9
23
How to work on this? Below is the code: I have tried many ways still not be able to make it
int p = 10;
listviewitem.SubItems.Add(p.ToString (
"###"));Thanks for help

Blocked AccountRank #403 · 6.2K reputationPosted Aug 28, 2008, 10:12 PM EDT
Set the RightToLeft property of the listview for doing that.