Display value of slider using XAML

前端 未结 1 1661
一整个雨季
一整个雨季 2021-01-14 02:34

How to display current Value of slider only while it\'s clicked? Something like tooltip but not on mouse-over.

This code gives me value of slider on mouse-over and i

相关标签:
1条回答
  • 2021-01-14 03:00

    Instead of explicitly setting a ToolTip, set the AutoToolTipPlacement and AutoToolTipPrecision properties, e.g.

    <Slider ... AutoToolTipPlacement="TopLeft" AutoToolTipPrecision="0" />
    
    0 讨论(0)
提交回复
热议问题