Hi Gian Paolo,
I have taken a look at your code and I think for the purposes you have right now you're taking a rather complex path :).
I am assuming you want to update the image of the selected item. Since you've already a special PictureLoopingItem which has a Picture URI property which fires the PropertyChanged event when updated, you need to handle the SelectedIndexChanged
event (which btw works on my side) and update the URI property of the currently selected item with the URI of the new picture.
You do not need to manually subscribe for PropertyChanged events on your ViewModel etc, this is done automatically by the Silverlight framework.
The logic that you have put in the ItemUpdated event:
(count == ((MainViewModel)DataContext).Persons.Count && firstRun ==
.loopingList.SelectedIndexChanged += LoopingListSelectedIndexChanged;
.loopingList.SelectedIndex = 0;
is also not at the right place. You can easily subscribe for the SelectedIndexChanged event in XAML.
So, since I am still not quite sure that I correctly understand what you're trying to achieve, I would like to ask you for some further details and I will try to modify your project accordingly.
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal
to submit ideas, feedback and vote for them.