This is a migrated thread and some comments may be shown as answers.

ToolTip for vertical slider?

1 Answer 56 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 12 Oct 2011, 10:52 PM
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.

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 17 Oct 2011, 03:13 PM
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" />
                    </ToolTip>
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 >>

Tags
Slider
Asked by
Michael
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or