How to get SelectedItems from ListView in my ViewModel [duplicate]
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Binding SelectedItems of Listview I have a ListView and User can select multiple items. I need to get list of items selected from ListView in my View Model. please suggest to get SelectedItems from ListView. Thank you 回答1: There are two ways I usually do this If I only need to know what is selected for the purpose of a command, I will setup my RelayCommand or DelegateCommand in the ViewModel to expect a