I have a lot of ScatterViewItems that I programatically add to a ScatterView. Now I have also a DropDown list. Every time I choose an item in the DropDown list, I'd like to change the background of the corresponding ScatterViewItem, and if multiple ScatterViewItems are overlapping, I'd like to bring the corresponding ScatterViewItem in the foreground.
Changing the background color is no problem. But how can I bring a ScatterViewItem to the Foreground? I already tried to remove it from the ItemCollection of the ScatterView and then adding it again, so that it is the latest added ScatterViewItem. This works, but isn't there a better way?
IsActive property on the ScatterviewItem will do this job for you