xxxxxxxxxx
ScrollViewer.SetVerticalScrollBarVisibility(TextBox, ScrollBarVisibility.Visible)
ScrollViewer.SetHorizontalScrollBarVisibility(TextBox, ScrollBarVisibility.Visible)
xxxxxxxxxx
<ScrollViewer Height="200" VerticalScrollBarVisibility="Auto">
<TextBox AcceptsReturn="True" TextWrapping="Wrap" />
</ScrollViewer>
xxxxxxxxxx
<TextBox ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.HorizontalScrollBarVisibility="Visible"/>
xxxxxxxxxx
ScrollViewer.SetVerticalScrollBarVisibility(TextBox, ScrollBarVisibility.Visible);
ScrollViewer.SetHorizontalScrollBarVisibility(TextBox, ScrollBarVisibility.Visible);