I am using a slider control to set the zoom level of an application and i want to show the current zoom level as live to end user. So i decided to show a tooltip on top of slider so user can see the value of zoom level.
But the problem is when user drag the position of slider the Tooltip disappears and i cant see the Tooltip again. I have to change position of mouse an dagain i have to place mouse on top of slider to see what the zoom level is
The xaml i used is this
<Slider
VerticalAlignment="Center"
Minimum="50" Maximum="200" Width="150" Name="ViewZoomlevel"
IsMoveToPointEnabled="True" IsSnapToTickEnabled="True"
Thumb.DragStarted="ViewZoomlevel_DragStarted" Thumb.DragCompleted="ViewZoomlevel_DragCompleted"
>
<Slider.ToolTip >
<ToolTip StaysOpen="True" ToolTipService.ShowDuration="12000" Content="{Binding RelativeSource={RelativeSource Self},
Path=PlacementTarget.Value}"
ContentStringFormat="Zoom: {0:0} %" />
</Slider.ToolTip>
</Slider>
I applied ToolTipService.ShowDuration="12000" But it seems to have no effect. How can i make sure the Slider Tooltip appears there on top of slider while Dragging the position of Slider Thumb