Reputation: 6132
I want to remove focus from an item in a ListBox when clicking on a button, then give focus to an item in an other ListBox. Is there something to remove focus? And how can I give focus to an other ListBox again, or even better, its' selected item?
I have tried to use the SelectionChanged
property but the focus is all off when moving items in List's around.
Upvotes: 0
Views: 85
Reputation: 1583
This would be a really good place to start. Head down to the Focus Section of the page. http://msdn.microsoft.com/en-us/library/ms754010.aspx#focus
The logical focus is probably what you care about
Upvotes: 1