I am using the following List view MVVM sample
as the base for my code, but am trying to combine it with the selection feature of the ListView.
One thing i could not achieve is the binding of the SelectedItems to an array in the ViewModel. i could kind of "hack" through this programmatically via the change event, but that's not enough for scenarios where i'd like certain items to be selected on loading of the widget. so i'm looking for a "right" way to this and to bind the selected items of the listview to a view model.
Can you provide an example for doing this?