Is it possible to control how many items are displayed when the user displays the dropdownlist of a ComboBoxTool embedded in a toolbar?
The regular combo box editor for windows forms has the MaxDropDownItems property, but I can't find a way to control this for the toolbar tool.
The MaxDropDownItems property is exposed on the ValueList class which is part of the ComboBoxTool. Alternatively it can be set on the ValueList your combo is bound.
eg.
ComboBoxTool combo = ((ComboBoxTool)ultraToolbarsManager1.Tools[0]); combo.ValueList = valuelist1; combo.ValueList.MaxDropDownItems = 5; valuelist1.MaxDropDownItems = 5;
Let me know if you have any questions.