Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Justify text in a listview control
Message
From
07/08/2002 20:04:10
 
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00687301
Message ID:
00687308
Views:
7
Rick,

I know that there is a way to justify the column headings when you're adding them:
o.Columns.Add("MyHeadingCaption", 100, HorizontalAlignment.Center);
I'm not sure what you'd need to do to justify the data in the columns, as I haven't had to mess with that as yet. But I'm sure there's gotta be a way to do it ...

~~Bonnie

>Is there a way to set the text justification for individual columns in a listview control.
>
>I would like to center justify the column headers, left justify item string values, and right justify item numeric values.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform