#390 – Scrollbar Visibility in a ScrollViewer
September 20, 2011 1 Comment
The HorizontalScrollbarVisibility and VerticalScrollbarVisibility properties dictate which scrollbars appear in a ScrollViewer. The properties can be set to one of the ScrollBarVisibility values:
- Disabled – scrollbar doesn’t appear and user can’t scroll any of the contained content
- Hidden – scrollbar doesn’t appear, but the user can still scroll the content, e.g. with arrow keys
- Visible – scrollbar always visible, but greyed out if there is nothing to scroll
- Auto – Scrollbar appears only when needed
Pingback: #887 – The Difference between Disabled and Hidden Scrollbar Visibility | 2,000 Things You Should Know About WPF