tags:

views:

161

answers:

1

Two question:

  1. How to disable drag thumb on a ScrollBar in WPF?
  2. Is there a way to limit drag thumb position? like LargeChange or SmallChange?
A: 
  1. Edit the template of the ScrollBar control and set the IsEnabled property of the Thumb to false

  2. Not sure you can do that directly from code or XAML but you might add 2 new DP to a control which inherits the ScrollBar class and then change the template to have this new feature

Jalfp
how to edit ScrollBar's template? and change its IsEnable property?
Cooper.Wu