Input for WinForms | ComponentOne
C1.Framework Namespace / ScrollBarElement Class / ButtonSize Property

In This Topic
    ButtonSize Property (ScrollBarElement)
    In This Topic
    Gets or sets the size of the thumb and line up/down buttons in the scroll direction.
    Syntax
    'Declaration
     
    
    Public Property ButtonSize As Integer
    public int ButtonSize {get; set;}
    Remarks

    By default, the scroll buttons are square. This property allows you to set the button height in vertical scrollbars or the button width in horizontal scrollbars.

    Set this property to a value less than 1 to restore the default (square) sizes.

    See Also