Hide header on Infragistics Winform UltraCombo

I looked at almost all the properties that I can think of, but did not find an easy way to hide the title on the Infragistics Winform UltraCombo control.

Headings make sense when I have some visible columns and much more, but sometimes it would be nice to hide it.

To give a simple example, let's say I have a combo box that shows if something is active or not. There next to the inscription "Asset." In the combo box there is one visible column with two rows - "Yes" and "No".

When the user opens a drop-down list, they see β€œActive” or any heading for the column heading, and then the selection. I would like for him to simply show only Yes and No.

This is a secondary aesthetic problem that probably only bothers me and doesn't even notice users, but I still would like to know if there is a default way.

SOLUTION: As @Craig suggested, ColHeadersVisible is what I need. The location of the property was somewhat different, but it was easy enough to track. As soon as I set DisplayLayout.Bands (0) .ColHeadersVisible = False, the dropdown menu will display as I wanted it.

+5
source share
2 answers

<DropDownLayout ColHeadersVisible="No"></DropDownLayout>works for us. This applies to Infragistics NetAdvantage for .NET 2008.

+3
source

Infragistics WinForms , UltraCombo ( UltraGrid).

, , UltraCombos UltraComboEditor. IG "" .NET.

, . , , UltraCombo, , , .

( : , , , !)

+2

All Articles