I have set a column's ValueList property and set the column's Style property to DropDownList in an UltraGrid. When I expand the DropDownList the items appear with bold font. What property can I set to turn off the bold font? I have tried setting the CellAppearance and HeaderAppearance FontData properties, but have not achieved the desired unbolded text.
Regards,
Albert
Hi Albert,
Well, you need to find out why the items are bold. They are certainly not automatically made bold by default, so something is making them that way. What are you using as your list, a ValueList or an UltraDropDown? Are you loading an application style?
Try searching your code for "FontData" to see if you are setting FontData.Bold somewhere.
Thanks for the reply, Mike.
The only place I found "FontData" was in the designer code where the appearance object of UltraGrid.DisplayLayout.Override.CellAppearance is set with FontData.BoldAsString = "False". I have tried using a ValueList in one grid on one form and an UltraDropDown on another grid on another form. I am not loading an application style.
Hm, that's odd, then. I can't think of any other reason why the fonts would be bold. Unless maybe the ambient font is bold. Is the font on the form or some other container control set to bold? Or perhaps the Font property on the control itself?