Hi,
In some cases I want to hide the DropDownButton of UltraCombo. When I use the UltraComboEditor I have the property DropDownButtonDisplayStyle. this property I can set to never. Is there any possibilty to do something like that with the UltraCombo. I cannot use the UltraComboEditor because I need more then one column.
Birgit
Yes, That is correct. That was a typo in my post. It is actually the UltraComboEditor.
Hi Walter,
I think you will find that you are looking at UltraComboEditor, not UltraCombo. UltraCombo has no DropDownButtonDisplayStyle property.
You can just change the DropDownButtonDisplayStyle of the control at runtime.
to show the button use: ultraCombo.DropDownButtonDisplayStyle = Infragistics.Win.ButtonDisplayStyle.Always;
to hide the button use : ultraCombo.DropDownButtonDisplayStyle = Infragistics.Win.ButtonDisplayStyle.Never;
Thank you for your answer. I have send a message to the support.
Hi Birgit,
Out of curiosity, why hide the button? Are you only hiding it sometimes? That seems like unusual UI.
I'm surprised there is no property to hide the button, but I can't find one, either. This seems to be something of an oversight. You should probably report this to Infragistics Developer Support: Submit an incident to Infragistics Developer Support
In the mean time, you can probably acheive what you want using a CreationFilter. I recommend checking the Infragistics KB for articles and samples of CreationFilters and also, get the Infragistics UIElementViewer Utility, it's a big help.