Live Chat Icon For mobile
Live Chat Icon

How can I customize the Ticks on a Slider ?

Platform: WPF| Category: Slider

The ticks on the slider can be customized using the code given below.


<Slider Width='100' Value='50' Orientation='Horizontal' HorizontalAlignment='Left' 
IsSnapToTickEnabled='True' Maximum='3' TickPlacement='BottomRight' 
AutoToolTipPlacement='BottomRight' AutoToolTipPrecision='2' 
Ticks='0, 1.1, 2.5, 3'/>

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.