If you expect to temporarily remove this diagram from the visual tree and re-insert it, you will want to set this property to false. The default value of true accommodates the usage pattern where removing the diagram from the visual tree is meant to discard the diagram permanently.
If the diagram is inside a TabControl
, this treats the value of UnloadingClearsPartManager
as if it were false.