Pergunta

I have a slider 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

Foi útil?

Solução

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).

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top