RichTextBoxScrollBars Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the type of scroll bars to display in a RichTextBox control.
public enum class RichTextBoxScrollBars
public enum RichTextBoxScrollBars
type RichTextBoxScrollBars =
Public Enum RichTextBoxScrollBars
- Inheritance
Name | Value | Description |
---|---|---|
None | 0 | No scroll bars are displayed. |
Horizontal | 1 | Display a horizontal scroll bar only when text is longer than the width of the control. |
Vertical | 2 | Display a vertical scroll bar only when text is longer than the height of the control. |
Both | 3 | Display both a horizontal and a vertical scroll bar when needed. |
ForcedHorizontal | 17 | Always display a horizontal scroll bar. |
ForcedVertical | 18 | Always display a vertical scroll bar. |
ForcedBoth | 19 | Always display both a horizontal and a vertical scroll bar. |
Use the members of this enumeration to set the value of the ScrollBars property of the RichTextBox control.
Produto | Versões |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: