I derive a control from an existing one (a treeview) and properties to it. I want these properties to be easily editable during design-time in the properties window of the control.
When I add a public property representing a simple datatype (boolean, integer, ...) the property value can be edited in the property window. But when the datatype is a morge complex object, the property is disabled in the property window and can't be edited.
Below is a sample property which should be used to allow the user of the property to choose a color. What needs to be added to the code to make it work?
Private _SelectedNodeColor As System.Drawing.Brush
''' Gets or sets the SelectedNodeColor.
View Complete Post