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

2 posts, 0 answers
  1. Kalle
    Kalle avatar
    26 posts
    Member since:
    Feb 2013

    Posted 24 Apr 2013 Link to this post

    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
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 26 Apr 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top