【发布时间】:2017-12-14 11:11:24
【问题描述】:
在 WinRT XAML 中编辑滑块控件的工具提示设计,Please click for reference是否可以使工具提示始终可见?
提前致谢。
【问题讨论】:
标签: windows-runtime microsoft-metro winrt-xaml
在 WinRT XAML 中编辑滑块控件的工具提示设计,Please click for reference是否可以使工具提示始终可见?
提前致谢。
【问题讨论】:
标签: windows-runtime microsoft-metro winrt-xaml
无法更改滑块的默认行为。您可以考虑使用标签或其他视觉效果以其他方式显示当前值。
例如:
<StackPanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<TextBlock Text="{Binding ElementName=slider,Path=Value}"></TextBlock>
<Slider x:Name="slider" Maximum="100"></Slider>
</StackPanel>
【讨论】: