Forum Discussion
Try using the below format
Ribbon.ToolBarObj.wItems.Item("CAD").Items.Item("Lines").Items.Item("Linestring").Items.Item("Circle").Click()
Interesting - UltraToolbarsDockArea.wItems.Item["CAD"].Items.Item["Lines"].Items.Item["Linestring"].Items has 0 items. The Print ones, on the other hand, do find that last group of children when I take that approach to them (starting at UltraToolbarsDockArea.wItems instead of UltraToolbarsDockArea.ToolbarsManager.Ribbon.Tabs). Doesn't really solve my issue, heh, but at least gives a little insight into what TC might be doing.
- SumanthKotha10 years agoOccasional Contributor
Item count should not show "0". Can you try enabling all the checkboxes in the "Object Mapping -> Infragistics Controls -> UltraDropDownButton" and "Object Mapping -> Infragistics Controls -> UltraToolbarsDockArea" and spy. It should show the count.
- jmassey10 years agoContributor
These are already all checked. Spy does not recognize anything on the ribbon on a finer granularity than the entire ribbon. That has always been the case - in Object Explorer, there is no expander on the UltraToolbarsDockArea.