I just created textbox in xaml. It is probably filled by very long text.
<TextBox x:Name="txtStory" Grid.Row="1" Grid.Column="1" MinWidth="456" MinHeight="200" TextWrapping="Wrap" Foreground="Black" AcceptsReturn="True" VerticalScrollBarVisibility="Visible"/>
My problem is when i type in multiple line, it will cropped like this
What should i do to make textbox with scrolling or another method that i can use? Thank you
You have to set the maximum height of the ScrollViewer and could set the Visibility for the Scrollbars to Auto.
Follow this link for more info
in above example you could set ScrollViewer height according to your need