Hi,
To be able to use the feature (Example):
ToolStrip toolstrip;
...
toolstrip.Items["Id"].Enable = true;
where Id is the id specified in the addin file. Otherwise you can only use the index to specify the item.
The following patch can be inserted in: src\Main\Core\Project\Src\AddInTree\AddIn\DefaultDoozers\ToolBarItem\Gui\ToolBarCommand.cs
Index: ToolBarCommand.cs
===================================================================
--- ToolBarCommand.cs (revision 2599)
+++ ToolBarCommand.cs (working copy)
@@ -21,6 +21,7 @@
this.RightToLeft = RightToLeft.Inherit;
this.caller = caller;
this.codon = codon;
+ this.Name = codon.Id;
if (createCommand) {
menuCommand = (ICommand)codon.AddIn.CreateObject(codon.Properties["class"]);
There may be a better solution as i have only had a limited chance to look at it.