ToolTip for vertical slider?

2 posts, 0 answers
  1. Michael
    Michael avatar
    24 posts
    Member since:
    Sep 2010

    Posted 12 Oct 2011 Link to this post

    I saw this post that describes how to easily give a RadSlider a ToolTip without having to modify the control template (which is REALLY nice given that I'm using themes and don't want to have to modify the same template multiple times).  However, that solution only works for horizontal RadSliders.  If you set Orientation=Vertical, the ToolTip starts appearing in the upper left corner and for the life of me I can't figure out why.

    I had previously modified this code to work with the Q1 release (which had separate thumbs for each orientation), but now that I've upgraded to the Q2 2011 SP1 release with the new RadSlider control template I'm back to square one.  Any help would be appreciated.
  2. Petar Mladenov
    Petar Mladenov avatar
    2882 posts

    Posted 17 Oct 2011 Link to this post

    Hi Michael,

     We were able to reproduce this issue. As a workaround you can set the Placement to Mouse:

    <ToolTip Placement="Mouse">
                            <TextBlock Text="{Binding Path=., StringFormat=n2}" FontSize="14" />
    Is this suitable for you ?Best wishes,
    Petar Mladenov
    the Telerik team

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

  3. DevCraft R3 2016 release webinar banner
Back to Top