Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Slider > Differentiate thumbs in RadSlider

Answered Differentiate thumbs in RadSlider

Feed from this thread
  • Jennifer avatar

    Posted on Nov 22, 2011 (permalink)

    Hi Telerik team,

    I have a RadSlider in my page with 'IsSelectionRangeEnabled' set as true. So it is showing two thumb at both end. I have customized the ThumbStyle. I need a way to differentiate the two thumbs in slider so that when I select the start thumb, it will change the color of that thumb. Please help me a way to implement this functionality.

    Also please let me know how can I add more thumbs into slider when clicking on it.

    Thanks,

    Jennifer.

    Reply

  • Jennifer avatar

    Posted on Nov 24, 2011 (permalink)

    hi telerik,

    I am expecting an immediate reply..Can you help me?

    Thanks,
    Jennifer.

    Reply

  • Answer Tina Stancheva Tina Stancheva admin's avatar

    Posted on Nov 25, 2011 (permalink)

    Hello Jennifer,

    The RadSlider control exposes two thumb style properties:
    • ThumbStyle - controls the style applied to the SelectionStart thumb
    • AlternateThumbStyle - controls the style applied to the SelectionEnd thumb
    You can use the two properties to define different templates/style for the SelectionStart and SelectionEnd thumbs. Also in order to change the color of the thumbs when they are selected, you'll need to modify the ColorAnimations of the Pressed VisualState of the thumbs. I attached a sample project demonstrating how to use the style properties to differentiate the styles of the two thumbs.

    However, the RadSlider control doesn't support multiple thumbs at the moment. But there is a feature request added in our PITS that you can vote for.

    Kind regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Attached files

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Slider > Differentiate thumbs in RadSlider
Related resources for "Differentiate thumbs in RadSlider"

Silverlight Slider Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]