Specifies how a RichTextBox control displays scroll bars.
[Visual Basic] Public Enum RichTextBoxScrollBars [C#] public enum RichTextBoxScrollBars [C++] public enum RichTextBoxScrollBars
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
The ScrollBars property uses this enumeration.
Member Name | Description |
---|---|
Both | Display both a horizontal and a vertical scroll bar when needed. |
Forced | Always display scroll bars. |
ForcedBoth | Always display both a horizontal and a vertical scroll bar. |
ForcedHorizontal | Always display only a horizontal scroll bar. |
ForcedVertical | Always display only a vertical scroll bar. |
Horizontal | Display only a horizontal scroll bar when needed. |
None | Never display scroll bars. |
Vertical | Display only a vertical scroll bar when needed. |
Namespace: System.WinForms
Assembly: System.WinForms.dll