Click here to Skip to main content
15,881,413 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
i want to set itemsource of listbox as textbox text when i pressed enter key.
i want to use binding.element property in listbox while i presses enter key.
How can i achieve this scenario?
Posted
Updated 13-Jan-13 18:16pm
v2
Comments
[no name] 13-Jan-13 23:55pm    
and the problem is ???
josh-jw 14-Jan-13 0:04am    
how to set binding element property

1 solution

You can use command binding or simply handle the keydown event.

If you want to set itemsource to textbox, use a textbox itself and bind the visibility of the listbox to false .
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900