The ScrollBars type indicates the type of
scrollbars that the control may display when required. The Scrollbars
property specifies whether the control
should add horizontal or vertical scroll bars when they required.
Name
Value
Description
ScrollNone
0
No scroll bars are shown
Horizontal
1
Only horizontal scroll bars are shown
Vertical
2
Only vertical scroll bars are shown
Both
3
Both horizontal and vertical scroll bars are shown.