How do you do it. Should be simple I just can't find it.
Could you be a little more specific? Are you trying to hide the button? Or just the arrow on the button? Why would you want to use a dropdown with no dropdown button?
Me.cboconBinNumber.DropDownButtonDisplayStyle = Infragistics.Win.ButtonDisplayStyle.Never
and I would like the same for the wingrid combo. The reason is I hide the arrow unless my form is in edit or add mode. If it's in edit or add mode I use the list close up event to run code. Hiding the arrow keeps the user from dropping the list down unless the form is in edit or add.
Thanks Mike
Okay, so you are hiding the button, not the arrow.
Actually, hiding the button does not stop the users from dropping down the list, they can still do it via the keyboard using Alt+DownArrow. If you want to stop it from dropping down, you will need to handle the BeforeDropDown event and Cancel it.
Anyway, to answer your question, no - there doesn't appear to be an easy way to hide the dropdown button on the UltraCombo. You could do it with a CreationFilter, I suppose. You would trap AfterCreateChildElement and watch for the EditorWithComboUIElement, then remove the EditorWithComboDropDownButtonUIElement from it's ChildElements collection. For more information on CreationFilters, you should check out the Infragistics KnowledgeBase, there are some articles and samples there. Also, get the Infragistics UIElementViewer Utility. It's a big healp when working with UIElements.