Last post May 09, 2009 03:42 AM by joteke
May 09, 2009 02:45 AM|Joyal|LINK
I am Creating custom control.In this I would like to use colorEditor.
How to define colorEditor?
Coding below throw error like Type ‘ColorEditor' is not defined.
<Category("Settings"), Editor(GetType(ColorEditor), GetType(UITypeEditor)), Description("The background color")> Public Property FBackground() As Drawing.Color
Set(ByVal value As Drawing.Color)
_fBackground = value
Thanks in advance...
May 09, 2009 03:42 AM|joteke|LINK
it is in System.Drawing.Design namespace and you also need to add reference to System.Drawing.Design.dll assembly.