Sync SelectedItems in a muliselect listbox with a collection in ViewModel

So, assume you have a ViewModel with the following properties: public ObservableCollection<string> AllItems { get; private set; } public ObservableCollection<string> SelectedItems { get; private set; } You would start by binding your AllItems collection to the ListBox: <ListBox x:Name=”MyListBox” ItemsSource=”{Binding AllItems}” SelectionMode=”Multiple” /> The problem is that the SelectedItems property on ListBox is not a … Read more