>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
Did you try just the color name as a string? DefaultValue("Blue")
Michael McLain