I would like to retrieve a tool instance from its key.
My tool is in a group in a ribbon tab. From key I get root tool by I'm not able to retrieve its instance group.
Thanks.
Hello poppychou,
I am not sure that I entirely understand your requirement. If you want to retrieve a tool by it's key and the group it is in you could do that by using the following code sample as a possible approach:
ultraToolbarsManager1.Ribbon.Tabs[0].Groups[0].Tools["PopupMenuTool10"]; ultraToolbarsManager1.Ribbon.Tabs[0].Groups[0].Tools["PopupMenuTool10"].OwningRibbonGroup;
ultraToolbarsManager1.Ribbon.Tabs[0].Groups[0].Tools["PopupMenuTool10"];
ultraToolbarsManager1.Ribbon.Tabs[0].Groups[0].Tools["PopupMenuTool10"].OwningRibbonGroup;
Feel free to let me know if I misunderstood you or if you need any additional assistance.