i have a mui:ModernTab with binded Links to my LinkCollection in my ViewModel.
When i navigate throught LinkGroupCollections and tabs i have many ViewModel (and UserControl) instances that are in the memory and never destroyed...
I use this:
ModernFrame contentFrame = base.GetTemplateChild("ContentFrame") as ModernFrame;
contentFrame.KeepContentAlive = false;
to deactivate the cache but the view modeles are still cached...
Can you help me please?
(Sorry for my bad english)