开发者

How to bind the slider with the arrow key inputs?

I have a 开发者_StackOverflowslider control and all I wanted is to move the slider thumb with the arrow key inputs. Right now, I could see it moves with mouse inputs and PageUp/PageDown keys. But nothing happens with the arrow keys. How can I change this behaviour in xaml?

Any help anybody could produce would highly appreciated.

Thanks

Ratheesh


The default SmallChange value for a RangeBase is 0.1. Since you are bound to an integer property I'm guessing that is getting rounded/truncated. Try setting the SmallChange to 1 and the LargeChange to something else (e.g. 10).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜