I set SyntaxEditor.HorizontalScrollBarVisibility to Visable, but it does not always display the horizontal scroll bar as expected.
I set SyntaxEditor.HorizontalScrollBarVisibility to Visable, but it does not always display the horizontal scroll bar as expected.
This happens only when WordWrapMode is set to Word
Hello,
That is by design. The horizontal scrollbar won't show if word wrap is active because the scrollbar can never be enabled in that scenario, and is just taking up space.
But in the case of automatic line wrapping, the contents of ScrollBarTrayLeftTemplate and ScrollBarTrayRightTemplate need to be displayed.
So now we can display some of the content we added to the left and right of the horizontal scroll bar, but the horizontal scroll bar is not displayed.
Ahh I see... yes you would need the existing behavior altered to keep the scrollbar tray content visible. We will update this for the next build with these notes:
Please log in to a validated account to post comments.