Tuesday, July 5, 2011

Scrollbars in WPF Textbox

You can set the scrollbars in a WPF TextBox control using it's properties:
Code:
HorizontalScrollBarVisibility="Visible"
VerticalScrollBarVisibility="Auto"
or using the ScrollView class:
Code:
ScrollViewer.HorizontalScrollBarVisibility="Auto"
ScrollViewer.VerticalScrollBarVisibility="Auto"

0 comments:

Post a Comment