N
Nathan Sokalski
I have a System.Web.UI.Control which has a property of type
System.Drawing.Font. When editing this control in an *.aspx file, how do I
assign a value to this property? If I recall correctly, the attributes in
the server tag are a combination of the property name and the property of
that property separated by a "-" or something. However, I would also like to
be able to use the Property Grid to do this. I tried using the Browsable
attribute for the property, but that did not seem to help. Here is my
current code for the property:
<System.ComponentModel.Browsable(True)> WriteOnly Property Font() As
System.Drawing.Font
Set(ByVal value As System.Drawing.Font)
Me._font = value
End Set
End Property
Am I forgetting something? Any help would be appreciated. Thanks.
System.Drawing.Font. When editing this control in an *.aspx file, how do I
assign a value to this property? If I recall correctly, the attributes in
the server tag are a combination of the property name and the property of
that property separated by a "-" or something. However, I would also like to
be able to use the Property Grid to do this. I tried using the Browsable
attribute for the property, but that did not seem to help. Here is my
current code for the property:
<System.ComponentModel.Browsable(True)> WriteOnly Property Font() As
System.Drawing.Font
Set(ByVal value As System.Drawing.Font)
Me._font = value
End Set
End Property
Am I forgetting something? Any help would be appreciated. Thanks.