Recommended

Skip Navigation LinksHome / News / View News

Keyboard selection on Silverlight ListBox and ComboBox

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Feb 09, 2010
(0 votes)
Tags: Listbox , ComboBox
Fons Sonnemans demonstrates a behavior that allows keyboard selection on a ListBox or ComboBox.

Silverlight doesn't support keyboard selection on a ListBox or Combox. I have created a small Behavior which fixes this problem. You can attach the KeyboardSelectionBehavior to a ListBox or ComboBox using Microsoft Expression Blend. You drag it from the Assets and drop it on your ComboBox or ListBox. If you have a custom ItemTemplate you will have to set the SelectionMemberPath property.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 2 and 8 and type the answer here:

Help us make SilverlightShow even better. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)