Specifies which scroll bars will be visible on a control.
[Visual Basic] Public Enum ScrollBars [C#] public enum ScrollBars [C++] public enum ScrollBars
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
Not all controls support scroll bars. Use this enumeration to specify which scroll bars will be visible on a control, either under some or all circumstances.
Member Name | Description |
---|---|
Both | Both horizontal and vertical scroll bars are shown. |
Horizontal | Only horizontal scroll bars are shown. |
None | No scroll bars are shown. |
Vertical | Only vertical scroll bars are shown. |
Namespace: System.WinForms
Assembly: System.WinForms.dll
System.WinForms Namespace | System.WinForms.Edit