How to Disable the up and Down arrow keys for a silverlight listbox?

Posted by Subhen on Stack Overflow See other posts from Stack Overflow or by Subhen
Published on 2010-03-26T08:14:58Z Indexed on 2010/03/26 9:23 UTC
Read the original article Hit count: 201

Hi, I want to disable the navigation on press of UP and Down arrow keys in Silverlight.

I tried with a case statement:

case Keys.UP:
  e.Handled = false;
  break;

This is not Workin :( . Help

© Stack Overflow or respective owner

Related posts about silverlight-3.0

Related posts about c#