Search code examples
windows-8winrt-xaml

In WinRT how do I prevent a click in the Slider tickbar?


IN XAML we have a simple slider control. We want to disable clicking in the tick bar, but still allow the user to use the slider thumb grabber thingy. Any ideas?


Solution

  • Try editing the slider template in Blend and set IsHitTestVisible on TopTickBar/BottomTickBar/Both(as applicable) to false.

    Should work.