A C1Slider control allows users to choose from a range of values by sliding an indicator across a horizontal bar. This type of control is commonly used to set the volume on audio controls. You can specify the range of the control by setting the MinimumValue and MaximumValue properties; the value selected within that range is determined by the Value property setting.
The C1Slider control provides a track that shows the unselected and selected regions, a thumb button, and increment and decrement buttons. The following diagram illustrates the elements of the C1Slider control:
The table below describes the elements of a C1Slider control:
Element |
Description |
Selected Area |
Provides a visualization of a user's selection. This color of this area will contrast with the color of the unselected area. |
Unselected Area |
Provides a visualization of the unselected area. The color of this area will contrast with the color of the selected area. |
Decrement Button |
Decreases the Value property of the C1Slider control by one. When the slider bar is altered using the decrement button, the selected area will shrink and the thumb button will move to correspond with the new value setting. You can hide the decrement button by setting the ShowDecrementButton property to False. |
Increment Button |
Increases the Value property of the C1Slider control. When the slider bar is altered using the decrement button, the selected area will grow and the thumb button will move to correspond with the new value setting. You can hide the decrement button by setting the ShowIncrementButton property to False. |
Thumb Button |
Increases or decreases the Value property of the C1Slider control depending on which way it is moved. You can hide the decrement button by setting the ShowIncrementButton to False. |
The C1Slider control is similar to the C1NavigationListSliderItem item. For information on the C1NavigationListSliderItem item, see the C1NavigationListSliderItem Item topic.
For task-based help concerning the C1Slider control, see Using the C1Slider Control.