Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Slider > Adding pointers in runtime

Not answered Adding pointers in runtime

Feed from this thread
  • Islam Abdel Aziz avatar

    Posted on May 27, 2010 (permalink)

    Hello,

    Please I want to:
     1.add pointers in run time , more than two pointers in a slider
      2. attach a label for each pointer in the slider

    Many Thanks

    Reply

  • Tina Stancheva Tina Stancheva admin's avatar

    Posted on Jun 1, 2010 (permalink)

    Hi Islam Abdel Aziz,

    I am not sure I understand your scenario correctly. Can you please elaborate on it a bit more. Also when you say "pointers" do you mean Thumbs?

    Thank you in advance.

    Kind regards,
    Tina Stancheva
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

    Reply

  • Islam Abdel Aziz avatar

    Posted on Jun 3, 2010 (permalink)

    yes,  I mean Thumb .
    I want to add more thumbs in runtime and also I need to attach a label for each thumb

    Reply

  • Valentin.Stoychev Valentin.Stoychev admin's avatar

    Posted on Jun 4, 2010 (permalink)

    Hi Islam Abdel Aziz,

    We don't support adding more than one thumb. We only have a special mode with two thumbs for enabling a range slider.

    Best wishes,
    Valentin.Stoychev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

    Reply

  • Ruben Hakopian avatar

    Posted on Sep 10, 2010 (permalink)

    Hi Valentin,

    What will be the procedure to add a label to a thumb?
    For example, I want to show the value of the thumb.

    Thank you,
    Ruben

    Reply

  • Kiril Stanoev Kiril Stanoev avatar

    Posted on Sep 16, 2010 (permalink)

    Hello Ruben,

    You can edit the Style of RadSlider and set a tooltip that is bound to the Value property:

    <Thumb x:Name="HorizontalSingleThumb" Grid.Column="1"
            Height="18" IsEnabled="{TemplateBinding IsEnabled}"
            Template="{StaticResource HorizontalThumbTemplate}"
            Visibility="{TemplateBinding ThumbVisibility}"
            VerticalAlignment="Center" Width="8"
            ToolTipService.ToolTip="{TemplateBinding Value}" />

    I've attached a project containing a sample solution to this scenario. Have a look at it and let me know if it helps. One further clarification, since the XAML of RadSlider is quite large, you can delete the unnecessary stuff. For example, if your slider is horizontal with just 1 thumb, you can remove HorizontalRangeTemplate, VerticalTemplate etc.

    Kind regards,
    Kiril Stanoev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Attached files

    Reply

  • Ruben Hakopian avatar

    Posted on Sep 16, 2010 (permalink)

    Hi Kiril,

     

    What I meant was changing the Thumb so that these numbers are visible all the time.

    I've already figured out how to change the template and put numbers inside.

     

    Tthanks,

    Ruben

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Slider > Adding pointers in runtime
Related resources for "Adding pointers in runtime"

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