如何禁用radcombobox控件键盘支持? [英] How to disable Keyboard Support for RadComboBox?

查看:522
本文介绍了如何禁用radcombobox控件键盘支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Silverlight的radcombobox控件控件有键盘支持,在此页中列出:的键盘支持

The RadComboBox control in Silverlight has Keyboard Support, listed in this page: Keyboard Support

我需要除键盘支持radcombobox控件功能。我没有在网上找到任何事情来帮助我做到这一点。如何禁用自动事件?

I need the RadComboBox features except the keyboard support. I don't find anything on the web to help me to do that. How can I disable the automatic event?

我必须从默认的行为不同的方式处理每一个的KeyUp和KeyDown事件。

I have to handle each KeyUp and KeyDown event differently from the default behaviour.

推荐答案

这是一个无聊的玩笑其实:

That was a silly joke in fact :

非常有据可查的财产 CanKeyboardNavigationSelectItems 158结果在谷歌!)做的伎俩,用 IsTextSearchEnabled 设置为false(不要问我为什么)。

The very well documented property CanKeyboardNavigationSelectItems (158 results in Google !) do the trick, with the IsTextSearchEnabled set to false (don't ask me why).

<一个href=\"http://www.telerik.com/help/silverlight/telerik.windows.controls.input-telerik.windows.controls.radcombobox-cankeyboardnavigationselectitems.html\"相对=nofollow>查看完整的超文档。

<telerik:RadComboBox x:Name="RadComboBox"
                     CanKeyboardNavigationSelectItems="False"
                     IsTextSearchEnabled="False">

这篇关于如何禁用radcombobox控件键盘支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆