Slider

Sliders can be used to give the user a range of choices to pick from, either as a smooth analog style slider, or as an index slider that lets a user select an option for a ranged list.

Various Sliders)

Properties

PropertyTypeDescription
OptionsOptionsConfigures the slider properties and layout
Label FontFontFont style used for the text labels on the slider
Primary ColorColorTrack and value color
Label ColorColorColor of labels on the track
Slider FillColorInside color of the slider
Slider BorderColorBorder color of the slider
BG ColorColorBackground or fill color behind the slider
BorderBorderOptional border around the Component
EnabledBoolanEnables or disables the item - only used to control when the Change event is active
VisibilityBooleanDetermines when to show or hide the component
ChangeEventHandles the event when the slider value changes

Options

There are three slider types, a range slider, an index slider, and a combined range / index slider. All three look similar, but allow for different use cases.

  • Use a range slider when the user can select any value within the range
  • Use an index slider when the user can select a specific value within a set of values
  • Use the combined slider to give the user options on what to select, but to allow values to be selected between those options.
  • All sliders can be oriented in a vertical or horizontal position.

Each type of slider has slightly different configuration for the options it presents.

Range Slider

Range Example

In the simplest form, a range slider simply takes the minimum and maximum values the slider represents. The Format field controls how many decimal places are shown on the slider, to allow for varying degrees of accuracy. The Value field will set the initial value of the control at run-time.

Like all controls, a Tag may be selected to display the value of the Tag on the control.

Index Slider

Index Example

An index slider works similarly to other option inputs, such as the Check List or Combo Box You provide a series of options to indicate the choices a user has when manipulating the slider. In this example, there are three options set, along with a value for each.

Like the other option inputs, the list of options can be determined from a Tag value on the server.

Both Slider

Both Example

Finally, a combined slider includes both options, so that you can set a minimum and maximum value, along with index points along the track. As you can see in the example, the Min and Max ranges also act as additional indexes along with the stops added as options in between.

Last Updated: