Spread Windows Forms 11.0 Product Documentation
ScrollBarButtons Enumeration
Example Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : ScrollBarButtons Enumeration
Specifies the type of scroll bar buttons by specifying which elements of the scroll bar are displayed.
Syntax
'Declaration
 
Public Enum ScrollBarButtons 
   Inherits System.Enum
'Usage
 
Dim instance As ScrollBarButtons
public enum ScrollBarButtons : System.Enum 
Members
MemberDescription
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.
Example
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

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.Spread.ScrollBarButtons

See Also

Reference

FarPoint.Win.Spread Namespace