Can't clear ListBox selection using SelectedItem = null - MVVM
问题 I have the following data template (and a corresponding view model, not shown): <DataTemplate DataType="{x:Type logic:SnapshotListViewModel}"> <ListBox ItemsSource="{Binding Snapshots}" /> </DataTemplate> ItemsSource is bound to a list of Snapshots, found inside the viewmodel. My goal is to clear the SelectedItem, so the listbox goes back to its initial, unselected state. The view model implements IPropertyNotified. I added a binding in the XAML like so: <ListBox SelectedItem={Binding