Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBox Class / ScrollBars Property


In This Topic
ScrollBars Property (GcTextBox)
In This Topic
Gets or sets which scroll bars should appear in a multiline GcTextBox control.
Syntax
'Declaration
 
Public Property ScrollBars As ScrollBars
 
'Usage
 
Dim instance As GcTextBox
Dim value As ScrollBars
 
instance.ScrollBars = value
 
value = instance.ScrollBars

Property Value

One of the ScrollBars enumeration values that indicates whether a multiline GcTextBox control appears with no scroll bars, a horizontal scroll bar, a vertical scroll bar, or both.
The default is None.
Remarks
The horizontal scroll bars are not shown if the WrapMode property is set to WrapMode.WordWrap or WrapMode.CharWrap, regardless of the value of the ScrollBars property.
See Also