property works like the SelectedItems properties of other WPF controls, like ListBox
, that is - it supports only operations defined by the IList
interface like adding, removing and clearing. If you want to programmatically change the selected items, you can keep a reference this collection in your ViewModel and update it from there.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>