Silverlight Textbox Scrolling Problem

In silverlight,

  • I have a text box that I want to be multi-line and have mousescrolling available.
  • If I use only a text box, I don't have mousescrolling.
  • If I use scrollviewer, I will have mousescrolling. BUT every time my record exceeds the lines that are shown from the beginning, the text and carriage just disappear if the scrollviewer does nothing.
  • How can I solve the problem, so I get the caret affecting the scrollviewer?

I sofar could not find someone with the same problem as me.

+3
source share
2 answers

AnthonyWJones is probably right on that.

PageScrollViewer TextBox ( Child of ScrollViewer). , TextBox , :

<ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}" HorizontalScrollBarVisibility="Disabled">
+1

TextBox VerticalScrollBarVisibility Auto.

+1

Source: https://habr.com/ru/post/1743355/


All Articles