Multiline ScrollViewer. RRS feed

  • Question

  • Hey guys,

    I have some content I want to display (plain text, doesn't matter if its in a Label, TextBlock, ScrollViewer or anything else). I need to change the content in runtime, and therefore some times it requires a ScrollBar (whos template I need to edit). When I used a TextBlock and set it's TextWrapping to Wrap, its CanContentScroll to true and its Vertical and Horizontal ScrollBars to Visible, they didn't show up and I was unable to scroll the content. When I tried using a ScrollViewer, I couldn't get its content to be multi lined - it all showed up as one continuous line.

    What can I do?

    Saturday, May 31, 2008 5:29 PM

All replies