Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ScrollBarButtons Enumeration
Example Example

In This Topic
    ScrollBarButtons Enumeration
    In This Topic
    Specifies the type of scroll bar buttons by specifying which elements of the scroll bar are displayed.
    Public Enum ScrollBarButtons 
       Inherits System.Enum
    Dim instance As ScrollBarButtons
    public enum ScrollBarButtons : System.Enum 
    HomeEnd [8] Indicates that the backward-to-home button and the foward-to-end button of the scroll bar appear.
    LineUpDown [2] Indicates that the backward line button and the foward line button of the scroll bar appear.
    None [0] Indicates that no elements of the scroll bar appear.
    PageUpDown [4] Indicates that the backward page button and the foward page button of the scroll bar appear.
    Thumb [1] Indicates that the scroll box of the scroll bar appears.
    This example uses the ScrollBarButtons enumeration.
    fpSpread1.VerticalScrollBar.Buttons = FarPoint.Win.Spread.ScrollBarButtons.HomeEnd | FarPoint.Win.Spread.ScrollBarButtons.PageUpDown | FarPoint.Win.Spread.ScrollBarButtons.LineUpDown | FarPoint.Win.Spread.ScrollBarButtons.Thumb;
    fpSpread1.HorizontalScrollBar.Buttons = FarPoint.Win.Spread.ScrollBarButtons.HomeEnd | FarPoint.Win.Spread.ScrollBarButtons.LineUpDown | FarPoint.Win.Spread.ScrollBarButtons.PageUpDown | FarPoint.Win.Spread.ScrollBarButtons.Thumb;
    fpSpread1.VerticalScrollBar.Buttons = FarPoint.Win.Spread.ScrollBarButtons.HomeEnd Or FarPoint.Win.Spread.ScrollBarButtons.PageUpDown Or FarPoint.Win.Spread.ScrollBarButtons.LineUpDown Or FarPoint.Win.Spread.ScrollBarButtons.Thumb
    fpSpread1.HorizontalScrollBar.Buttons = FarPoint.Win.Spread.ScrollBarButtons.HomeEnd Or FarPoint.Win.Spread.ScrollBarButtons.LineUpDown Or FarPoint.Win.Spread.ScrollBarButtons.PageUpDown Or FarPoint.Win.Spread.ScrollBarButtons.Thumb
    Inheritance Hierarchy


    See Also