Spread Windows Forms 12.0 Product Documentation
ChangeType Enumeration
Example Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : ChangeType Enumeration
Specifies the type of change (movement) of the scroll bar button.
Syntax
'Declaration
 
Public Enum ChangeType 
   Inherits System.Enum
'Usage
 
Dim instance As ChangeType
public enum ChangeType : System.Enum 
Members
MemberDescription
LargeChangeIndicates a large amount of movement of the scroll bar button
MoveToEndIndicates movement to the right (horiztonally) or to the bottom (vertically) of the scroll bar button
MoveToHomeIndicates movement to the left (horiztonally) or to the top (vertically) of the scroll bar button
NoneIndicates no movement of the scroll bar button
SmallChangeIndicates a small amount of movement of the scroll bar button
Example
This example uses the ChangeType enumeration.
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
Inheritance Hierarchy

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

See Also

Reference

FarPoint.Win.Spread Namespace