Adding pointers in runtime

7 posts, 0 answers
  1. Islam Abdel Aziz
    Islam Abdel Aziz avatar
    10 posts
    Member since:
    Oct 2009

    Posted 27 May 2010 Link to this post

    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
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 01 Jun 2010 Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Islam Abdel Aziz
    Islam Abdel Aziz avatar
    10 posts
    Member since:
    Oct 2009

    Posted 03 Jun 2010 Link to this post

    yes,  I mean Thumb .
    I want to add more thumbs in runtime and also I need to attach a label for each thumb
  5. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 04 Jun 2010 Link to this post

    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.
  6. Ruben Hakopian
    Ruben Hakopian avatar
    37 posts
    Member since:
    Nov 2009

    Posted 10 Sep 2010 Link to this post

    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
  7. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 16 Sep 2010 Link to this post

    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
  8. Ruben Hakopian
    Ruben Hakopian avatar
    37 posts
    Member since:
    Nov 2009

    Posted 16 Sep 2010 Link to this post

    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

Back to Top
UI for WPF is Visual Studio 2017 Ready