public static void ShowControls(this AttributeTableBuilder builder, params string[] controlTypes) { builder.AddAttribute(ToolboxBrowsableAttribute.Yes, controlTypes); }
public static void RegisterControls(this AttributeTableBuilder builder, string categoryPath, params string[] controlTypes) { builder.ShowControls(controlTypes); builder.AddAttribute(new ToolboxCategoryAttribute(CompanyToolboxCategoryPath + categoryPath), controlTypes); builder.AddAttribute(new ToolboxTabNameAttribute(CompanyToolboxTabName + categoryPath), controlTypes); }