Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Justify text in a listview control
Message
De
07/08/2002 20:04:10
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00687301
Message ID:
00687308
Vues:
8
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform