WPF ScrollBar increase the RepeatButton value

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
 
C

Chris Jobson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top