Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4160
Multiple font style in the ComboEditor
posted

Hello

I would like to know if it is possible to have a text in bold and a normal text in a combo item, as seen in the control list of the Visual Studio Property Grid.

Thanks a lot.

 

Parents
No Data
Reply
  • 469350
    Offline posted

    You could do this on the list portion by using UltraCombo with a column whose style is set to FormattedText. But there's no support for this in the edit portion of the control.

    You could implement this yourself by creating your own DropDown control using UltraFormattedTextEditor and using the ButtonsRight collection to add a DropDownEditorButton and put an UltraGrid control on the dropdown.

    Or, another option would be to use UltraCombo and use a DrawFilter to draw the text yourself and make part of it bold.

Children
No Data