i am trying to implement listbox (or listview):
<ListView ItemsSource="{Binding Players}" SelectedIndex="{Binding SelectedIndex}">
My problem is, that i want to bind selected index to property in code-behind. It work only on form start, but i need to disable user to change selection. Selectin will be changed ONLY programmaticaly.
Thanks for all advices or solutions :)