Memory Leak on setting Item

2 posts, 0 answers
  1. John Harrison
    John Harrison avatar
    23 posts
    Member since:
    May 2010

    Posted 11 Nov 2014 Link to this post


    We are setting the property grids Item property to our view model object.

    It seems something is not been freed correctly internally as we see an increase of memory everytime we bind to a new instance of our view model.

    pseudo code:

    create view model object

       var Data = new OurViewModel(...).

       PropertyGrid.Item = null
       PropertyGrid.Item= Data

    I read a similar issue with the WPF control here

    Is there a way for us to loop through the PropertyDefinitions and unbind the datasource/context and resolve this issue?

    Kind Regards
  2. Vera
    Vera avatar
    263 posts

    Posted 13 Nov 2014 Link to this post

    Hello John,

    I tried to reproduce the problem using the provided details but I was not able to. Please open a support ticket and send a simple runnable project demonstrating the issues.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top