Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
320
How to expand value list of UltraWinToolbars.ComboBoxTool at run time
posted

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?

Parents
No Data
Reply
  • 23930
    Verified Answer
    Offline posted

    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.

Children