i want to expand ComboBoxTool items/value list at run time , just like when you click on dropdown and it expands all item. How can i do this?
thank you so much. used following code and it worked
tbmSequelSearch.Toolbars(0).Tools("ddcSNOMED").AccessibilityObject.DoDefaultAction()
Hi Wagas,
Thank you for contacting Infragistics Developer Support.
While the ComboBoxTool has no public method for this, you can open the drop down using the AccessibilityObject method DoDefaultAction(). You can do this using code like:
ultraToolbarsManager1.Ribbon.Tabs[0].Groups[0].Tools["ComboBoxTool1"].AccessibilityObject.DoDefaultAction();
Please note that you will also have to include a reference to the Accessibility assembly. Also you if you try to access the AccessibilityObject through ultraToolbarsManager1.Tools collection it won’t work – you need to reference the tool in its tab, toolbar or menu.
Please let me know if you have any additional questions.