SelectedItemChangedDescriptor.AddValueChanged(element, new EventHandler(OnSelectedItemChanged));
So every time the selected row is changed, I can maintain my array of selected items since the OnSelectedItemChanged event fires and I maintain the selected rows array in the code for this handler. But in case of multiselect, if I hold down the shift key and select multiple rows, this event does not fire – it only fires if I hold down the control key while selecting multiple rows.
I tried the SelectedItemsProperty and the SelectedIndexProperty and the behaviour is the same.
Imported from legacy forums. Posted by Ranjana (had 497 views)