I have associated UltraDataSource with UltraComboBox.One of the Column in DataSource is of the datatype System.Drawing.Color
At runtime,along with actual colors ,name of color is also shown in that column of ComboBox.
How can i remove name of the color?
There's no easy way to remove the selection color from a cell. The only way I know of is to use a DrawFilter.
DrawFilter for Backcolor - Infragistics Forums
Thanks,That worked fine.
But now when any of the row in combobox is selected ,the color in the selected cell cannot be seen because of the default selection color which is blue.
Is there a way to remove selection color only from the color cell?
The color column will display using the UltraColorPicker by default, which doesn't have any way to hide the text.
What I would do is handle the InitializeLayout event of the UltraCombo and hide the "real" color column. Then I would add an Unbound column.
In the InitializeRow event, you can examine the value of the "real" color column and set the cell.Appearance.BackColor of the unbound column to the color value of the real column.