RadObservableCollection<T>.ShouldResetOnResumeNotifications

4 posts, 0 answers
  1. Erhan
    Erhan avatar
    2 posts
    Member since:
    Oct 2006

    Posted 20 Oct 2016 Link to this post

    how do we set RadObservableCollection<T>.ShouldResetOnResumeNotifications to false?

    there is no public constructor that allows for this and the property is readonly ...

  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1218 posts

    Posted 24 Oct 2016 Link to this post

    Hi Erhan,

    We had the pretty ambitious idea to implement an alternative mode that translates all reset actions to add/remove actions. However, is occurred that most of the WPF ItemsControls do not properly handle an Add/Remove action that contains more than one added/removed item. As RadObservableCollection<T> is widely used out of the scope of our controls, we had to freeze the work on this feature, due to those compatibility issues. Currently it is not possible to prevent Reset after ResumeNotifications.

    Regards,
    Ivan Ivanov
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
  3. Michael Tissington
    Michael Tissington avatar
    64 posts
    Member since:
    Nov 2007

    Posted 09 Aug 2020 in reply to Ivan Ivanov Link to this post

    Then I think the documentation should be corrected :)
  4. Dinko
    Admin
    Dinko avatar
    1217 posts

    Posted 12 Aug 2020 Link to this post

    Hi Michael,

    Thank you for the provided feedback.

    Upon checking, I can see that this property is described in the Properties section of this article.  We will consider adding a note in the section claiming that you can't Reset the collection after ResumeNotifications.

    Regards,
    Dinko
    Progress Telerik

Back to Top