that the designer is generating in the Sub InitializeComponent for a color
that you select in the Properties Settings?
"Nathan Sokalski" <nj********@hotmail.comwrote in message
news:er****************@TK2MSFTNGP02.phx.gbl...
Actually, it is a custom control that inherits System.Web.UI.Control. My
code for the BackgroundColor property is:
Public WriteOnly Property BackgroundColor() As System.Drawing.Color
Set(ByVal value As System.Drawing.Color)
Me._backgroundcolor = value
End Set
End Property
Me._backgroundcolor is declared as:
Private _backgroundcolor As System.Drawing.Color
I know that my syntax for the property declaration is correct, I have used
it many times in other classes for other types (such as String, Integer,
etc.), just never with System.Drawing.Color. Any ideas? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/