'Declaration Public Enum ChangeType Inherits System.Enum
'Usage Dim instance As ChangeType
public enum ChangeType : System.Enum
'Declaration Public Enum ChangeType Inherits System.Enum
'Usage Dim instance As ChangeType
public enum ChangeType : System.Enum
Member | Description |
---|---|
LargeChange | Indicates a large amount of movement of the scroll bar button |
MoveToEnd | Indicates movement to the right (horiztonally) or to the bottom (vertically) of the scroll bar button |
MoveToHome | Indicates movement to the left (horiztonally) or to the top (vertically) of the scroll bar button |
None | Indicates no movement of the scroll bar button |
SmallChange | Indicates a small amount of movement of the scroll bar button |
fpSpread1.VerticalScrollBar.Renderer = null; FarPoint.Win.Spread.FpScrollBarButtonCollection buttons = new FarPoint.Win.Spread.FpScrollBarButtonCollection(); buttons.AddRange(new FarPoint.Win.Spread.FpScrollBarButton[] { new FarPoint.Win.Spread.FpScrollBarButtonBackwardLine(), new FarPoint.Win.Spread.FpScrollBarComboThumb(), new FarPoint.Win.Spread.FpScrollBarButtonForwardLine()}); fpSpread1.VerticalScrollBar.Buttons = buttons; foreach (FarPoint.Win.Spread.FpScrollBarButton btn in buttons) { btn.ChangeType = FarPoint.Win.Spread.ChangeType.MoveToEnd; btn.ChangeValue = 4; }
FpSpread1.VerticalScrollBar.Renderer = Nothing Dim buttons As New FarPoint.Win.Spread.FpScrollBarButtonCollection buttons.AddRange(New FarPoint.Win.Spread.FpScrollBarButton() {New FarPoint.Win.Spread.FpScrollBarButtonBackwardLine(), New FarPoint.Win.Spread.FpScrollBarComboThumb(), New FarPoint.Win.Spread.FpScrollBarButtonForwardLine()}) FpSpread1.VerticalScrollBar.Buttons = buttons Dim btn As FarPoint.Win.Spread.FpScrollBarButton For Each btn In buttons btn.ChangeType = FarPoint.Win.Spread.ChangeType.MoveToEnd btn.ChangeValue = 4 Next
System.Object
System.ValueType
System.Enum
FarPoint.Win.Spread.ChangeType