开发者

Cancelling control of KeyBoard about scroll of ScrollView?

Key.Down,Key.Up. That can control scroll of ScrollView. Please, how to canc开发者_Go百科el control?


The ScrollViewer react to keyboard keys - it have the focus.If you want to cancel that behaviour,try setting Focusable="False" for your Scrollviewer


I have to admit that the information you provide is a bit less, but for as far as I get it, you want to turn off keyboard usage?

I'm not sure if there's a function to turn off the keyboard, but what you can do, is add a keylistener. All keypresses can be ignored, or configured the way you want to.

For an example of keylisteners, you can check this site, which is a topic about C# keylisteners:

http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/f83d3d71-ea3e-4b18-a610-30a91fae060e/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜