constants ScrollBarsEnum
Specifies the type of scroll bars that control uses. Use the ScrollBars property to specify the control's scroll bars.

NameValueDescription
NoScroll0 No scroll bars are shown
Horizontal1 Only horizontal scroll bars are shown.
Vertical2 Only vertical scroll bars are shown.
Both3 Both horizontal and vertical scroll bars are shown.
DisableNoHorizontal5 The horizontal scroll bar is always shown, it is disabled if it is unnecessary.
DisableNoVertical10 The vertical scroll bar is always shown, it is disabled if it is unnecessary.
DisableBoth15 Both horizontal and vertical scroll bars are always shown, disabled if they are unnecessary.