I once created a control designer, not the ones that the form designer uses, but more like the actual form designer for a single control. I donβt remember very well from the project, but I remember that I had the same problem, and I had to warn the visual studio that I had somehow changed its meaning.
, visual studio . codeDom, .
, , , , . , , acient #, "Shape designer" - . . , . , , .
, , . vb.net, , .
,
,
gif
EDIT:
"DesignerControl.vb" 187:
' The controldesigner don't always save properties which are changed directly :/
Private Sub SetValue(itm As Item, pName$, val As Object)
Dim Prop As PropertyDescriptor = TypeDescriptor.GetProperties(itm.Page)(pName)
If Prop IsNot Nothing AndAlso Prop.PropertyType Is val.GetType Then Prop.SetValue(itm.Page, val)
End Sub