news:er****************@TK2MSFTNGP02.phx.gbl...
Actually, it is a custom control that inherits System.Web.UI.Control. MySince this is derived from a Web class, I can't really help much, being a
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.
desktop guy, but I have to wonder: why WriteOnly?