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
130
UltraTextEditor Scrollbar Styling
posted

I would like to apply styling to the scrollbar of an UltraTextEditor control. There does not seem to be any way in the Styling tool to do that.

Is there a way?

  • 469350
    Suggested Answer
    Offline posted

    Hi,

    When UltraTextEditor goes into edit mode, it places an inbox TextBox control over itself. So all of the editing and the scrollbars that you see are really just a regular DotNet TextBox control, and unfortunately, the scrollbars of the TextBox control cannot be styled.

    You might want to consider using the UltraFormattedTextEditor control, instead. It draws the text itself and the scrollbars are styleable UltraScrollBars. There are 2 caveats, though. First, the FormattedTextEditor is not built to handle a large amount of text. The second is there it lacks support for some things the Windows TextBox has like IME.