Hi,
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
OnSelectionChanged(....)
{
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
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
OnSelectionChanged(....)
{
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