Currently my SelectionChanged function do change a image if my Item is selected with the following code:
foreach (var item in PraeparatList.SelectedItems)
{
System.Reflection.PropertyInfo pi = item.GetType().GetProperty("PraeparatID");
int id = (int)(pi.GetValue(item, null));
var q = viewModel.PraeparatInfo.Where(X => X.PraeparatID == id).FirstOrDefault();
q.PraeparatCheck = "checked.png";
}
But how can i rechange the Image to unchecked.png if the item has changed to unselected?
So i was wondering if there exist a way to Get all UnselectedItems. This were great