WPF ItemsControl - how to know when the items finished loading, so that I can focus the first one?
- by Tomáš Kafka
Hi everyone, I have an ItemsControl in my View, that is bound to an ObservableCollection from ViewModel. The collection is filled, and afterwards an event from VM to view is raised (think search results and SearchFinished event).
I would like to move keyboard focus to the first item in an ItemsControl, but when I do it in View's code-behind when…