Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set DefaultValue for a color
Message
De
20/06/2007 11:49:25
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
How to set DefaultValue for a color
Divers
Thread ID:
01234513
Message ID:
01234513
Vues:
57
I'm trying to set the DefaultValue for a property in a custom control but cant figure out how to set it for a color.
<Category("Thumbnail Pannel"), _
           Description("Back Color of Selected Thumbnail"), _
           DefaultValue(System.Drawing.Color.Blue)> _
       Public Property SelectedThumbBackColor() As Color
I get an error "Constant expression expected".
Anyone know how to set this up for a color?

Thanks
Brian Grant
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform