TrackBar customization

1 Jul 20191 minute to read

TrackThickness

The thickness of track bar can be customized by setting the TrackThickness property of SfRangeSlider.

rangeSlider.TrackThickness = 5;

TrackSelectionThickness

The thickness for the selected range or selected portion of track bar can be customized by setting the TrackSelectionThickness property of SfRangeSlider.

rangeSlider.TrackSelectionThickness = 5;

TrackColor

The color of track bar can be customized by setting the TrackColor property of SfRangeSlider.

rangeSlider.TrackColor = UIColor.Red;

TrackSelectionColor

The color for the selected range or selected portion of track bar can be customized by setting the TrackSelectionColor property of SfRangeSlider.

rangeSlider.TrackSelectionColor = UIColor.Red;

KnobColor

The KnobColor property is used to change the knob color of SfRangeSlider.

rangeSlider.KnobColor = UIColor.Red;