TrackBar customization
17 Jan 20251 minute to read
TrackStroke
The stroke of track bar can be customized by setting the TrackStroke property of SfRangeSlider.
rangeSlider.TrackStroke = 5;TrackSelectionStroke
The stroke for the selected range or selected portion of track bar can be customized by setting the TrackSelectionStroke property of SfRangeSlider.
rangeSlider.TrackSelectionStroke = 5;TrackColor
The color of track bar can be customized by setting the TrackColor property of SfRangeSlider.
rangeSlider.TrackColor = Color.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 = Color.Red;KnobColor
The KnobColor property is used to change the knob color of SfRangeSlider.
rangeSlider.KnobColor = Color.Orange;ThumbSize
The ThumbSize property is used to change the thumb size of SfRangeSlider.
rangeSlider.ThumbSize = 5;