NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RichTextBoxScrollBars Enumeration

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.

Remarks

The ScrollBars property uses this enumeration.

Members

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.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

System.WinForms Namespace