[MonoDevelop] Larger set of stetic patches

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Jun 26 20:08:36 EDT 2006


On 6/26/06, ml <ml at arsis.net> wrote:
> 2. Adding new groups to stetic from code on loading library
> (ToolboxItem(false) and abstract are conditions here). Original .Net
> does not provide groups, stetic requires them
>
> [ToolboxItem (false), Category ("widgetgroup"), Description ("Group
> Label"]
> public abstract class SomeClass { /* dummy abstract class */ }

You should really use the Category attribute for the group name
directly, to avoid using dummy classes.

I think that this would be a legitimate use of CategoryAttribute, even
though it is not used for this purpose in .NET, as it has no other use
on classes.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list