开发者

How to disable Keyboard Support for RadComboBox?

开发者 https://www.devze.com 2023-03-24 01:46 出处:网络
The RadComboBox control in Silverlight has Keyboard Support, listed in this page: Keyboard Support I need the RadComboBox features except the keyboard support. I don\'t find anything on the web to he

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

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?

I have to handle each KeyUp and KeyDown event differently 开发者_运维问答from the default behaviour.


That was a silly joke in fact :

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

See the ultra complete doc.

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

精彩评论

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