WPF ScrollBar increase the RepeatButton value

  • Thread starter Thread starter Victor Hadianto
  • Start date Start date
V

Victor Hadianto

Hi,

I have a WPF ScrollBar that had a rather large maximum value. Now the
problem is that everytime I click the RepeatButton (the buttons on
both side of the Thumb button) it only increases the value by 1.
What's the best way to increase this value by a reasonable number? Is
there an automatic page up/down functionality built in?

Thanks
 
Victor Hadianto said:
I have a WPF ScrollBar that had a rather large maximum value. Now the
problem is that everytime I click the RepeatButton (the buttons on
both side of the Thumb button) it only increases the value by 1.
What's the best way to increase this value by a reasonable number? Is
there an automatic page up/down functionality built in?

Set the SmallChange property of the ScrollBar to the change in value you
want one press of the RepeatButton to give.

Chris Jobson
 
Back
Top