c# - ComboBox Silverlight -
i have standard silverlightcombobox
behave html combobox. let's have combobox states in us, if press 'i' key, should navigate selected item start @ i's ... there anyway this, doesn't make sense it's not built in functionality.
maybe missed memo? ideas?
it's not comes standard - in silverlight 4 (i hit problem today).
however, there quite few diy implementations on net:
http://gistom.blogspot.com/2009/12/silverlight-combobox-with-keyboard.html
http://www.codeproject.com/kb/silverlight/comboboxkeybrdselection.aspx
http://www.reflectionit.nl/blog/permalinkd137c1f7-a515-4084-8199-f8b3cf892b8f.aspx
the author of last post
created small behavior fixes problem. can attach keyboardselectionbehavior listbox or combobox using microsoft expression blend. drag assets , drop on combobox or listbox. if have custom itemtemplate have set selectionmemberpath property.
if don't have access blend use code template , edit xaml hand produce same result.
Comments
Post a Comment