SelectedValue explicit binding updates when ItemsSource change..why?
问题 I have a ListBox with an Explicit binding set to SelectedValue. SelectedValue="{Binding Path=Property, UpdateSourceTrigger=Explicit}" the ItemSource of ListBox is an ObservableCollection. When I select an item of ListBox and press 'Enter' I update the property value in this way: BindingExpression be = listBox.GetBindingExpression(ListBox.SelectedValueProperty); be.UpdateSource(); Now, I have this problem: I have to reset the ItemsSource of ListBox by specific action on my window and when call