Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBoxCellType Class / ScrollBarMode Property


In This Topic
    ScrollBarMode Property (GcTextBoxCellType)
    In This Topic
    Gets or sets how to display the scroll bars.
    Syntax
    'Declaration
     
    
    Public Property ScrollBarMode As ScrollBarMode
    'Usage
     
    
    Dim instance As GcTextBoxCellType
    Dim value As ScrollBarMode
     
    instance.ScrollBarMode = value
     
    value = instance.ScrollBarMode
    public ScrollBarMode ScrollBarMode {get; set;}

    Property Value

    One of the ScrollBarMode enumeration values that indicates whether the scroll bars are displayed as soon as the contents exceed the length of the control.
    The default is ScrollBarMode.Fixed.
    Remarks
    To display the scroll bars, you must have the Multiline property set to true. If set to ScrollBarMode.Fixed, the scroll bars are displayed all the time. If set to ScrollBarMode.Automatic, the scroll bars are visible only when the contents in the control exceed the length of the control.
    See Also