Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 XAML 中,我们有一个简单的滑块控件。我们希望禁用在勾选栏中的单击,但仍允许用户使用滑块拇指抓取器。有任何想法吗?
IsHitTestVisible尝试在 Blend中编辑滑块模板并将TopTickBar/ BottomTickBar/ Both(如适用)设置为false.
IsHitTestVisible
TopTickBar
BottomTickBar
Both
false
应该管用。