ComponentOne Slider for ASP.NET WebForms
Elements / Increment and Decrement Buttons
In This Topic
    Increment and Decrement Buttons
    In This Topic

    The C1Slider control's Increment and Decrement buttons appear on either side of the slider track. Clicking the Increment and Decrement buttons changes the C1Slider.Value property and the position of the thumb button on the slider track.

    By default the Decrement button will appear on the left side of the slider if C1Slider.Orientation is set to Horizontal and the top of the control if C1Slider.Orientation is set to Vertical. By default the Increment button will appear on the right side of the slider if C1Slider.Orientation is set to Horizontal and the bottom of the control if C1Slider.Orientation is set to Vertical.

    By default the Increment and Decrement buttons increase or decrease the slider's C1Slider.Value by 1 unit. To change the number by which the slider's C1Slider.Value is increased or decreased, you can use the C1Slider.Step property. Set the C1Slider.Step property to the number with which you want the C1Slider.Value to step up or down in value when the thumb is moved or the Increment or Decrement buttons are clicked.

    See Also