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
995
Change the back color of selected text?
posted

I would like to change the style of the ultratextbox or formatted text box control so that selected text will have a red background (instead of the usual gray) and the selected text forecolor to be white instead of black. Is there a way to do this?

  • 469350
    Verified Answer
    Offline posted

    When the UltraTextEditor control enters edit mode, it displays an Inbox TextBox control over itself to allow editing. Since the MS TextBox picks up it's selection colors from the system and does not allow you to change those colors, there's no way to do it. 

    Theoretically, this should be possible with the UltraFormattedTextEditor. It does not use a TextBox control. But I suspect it also does not currently exposes properties for the selection color of the text. So you should  Submit a feature request to Infragistics