This is a migrated thread and some comments may be shown as answers.

How to check if RadTileView's item collection has changed (add/remove items)?

1 Answer 45 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Kalle
Top achievements
Rank 1
Kalle asked on 24 Apr 2013, 11:00 AM
Hi!

I could not find any event that is fired when I add or remove items from RadTileView's itemsource. I want to be able to save user's tile positions after adding or removing tiles so is there any event that is fired when the collection changes?

Br,

Kalle

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 26 Apr 2013, 06:37 AM
Hi Kalle,

You are right that there is no event that is fired when the ItemsSource is changed. Please note that this property should be used in data binding scenarios and this property should be bound to a property from your ViewModel. Hence you know when you add items to your business collection and no event is needed to inform you for the change (as you do that change).

On the other hand you can invoke a custom event (if you still need one) when you add an item.

Regards,
Pavel R. Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
TileView
Asked by
Kalle
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or