问题
How to add a ThumbToolTip to a Slider (currently I'm working with Windows Phone 8.1 RT)?
According to MSDN - there is a property that should enable ThumbTooltip. But as I've looked at default style there is no sign of ToolTip.
I've tried to set the value to true (which is also a default value):
<Slider Maximum="100" Value="10" HorizontalAlignment="Stretch"
ThumbToolTipValueConverter="{StaticResource ToolTipConv}" IsThumbToolTipEnabled="True"/>
But no ToolTip was shown. I can think of making a Control and bind it to Slider's value, but can it be done easier way?
回答1:
The default ThumbToolTip is not available for Windows Phone 8.1.
On Windows 10 UWP apps works fine.
来源:https://stackoverflow.com/questions/23264743/add-thumbtooltip-to-slider