Well, I was talking about something rather different, actually, I should
have made it a bit more clear.
On my own custom web control, I have a property (lets call it ReadOnly
Property JoeStyle as CSSStyleCollection) - there is a way to add an
EditorAttribute attribute to the property to cause a certain gui designer to
pop up in the IDE to graphically let you construct the value of the
property. As you mentioned, the CSS StyleBuilder is the one I'm after.
There are several stock designers, if you look at the ones derived from
UITypeDesigner class (in System.Drawing.Design), such as...
System.ComponentModel.Design.CollectionEditor
System.Drawing.Design.FontEditor
System.Drawing.Design.ImageEditor
System.Web.UI.Design.DataBindingCollectionEditor
System.Web.UI.Design.UrlEditor
System.Web.UI.Design.WebControls.DataGridColumnCollectionEditor
System.Web.UI.Design.WebControls.RegexTypeEditor
System.Web.UI.Design.XmlFileEditor
System.Windows.Forms.Design.AnchorEditor
System.Windows.Forms.Design.FileNameEditor
But I have not been able to find how to apply the really nice stock css
stylebuilder designer to my own style property (I thought it would just work
by default based on the property return type, but no such luck!)- or even
locate the stylebuilder designer object!
Thanks for your input, though.