Last Updated: 07 Feb 2019 15:40 by ADMIN
Martin Ivanov
Created on: 07 Feb 2019 15:32
Category: Docking
Type: Bug Report
Docking: Memory leak after removing RadPane from RadPaneGroup
A memory leak related to the automation peers of the RadPane and RadPaneGroup appears when you close a pane (using its Close button) even if you call its RemoveFromParent() method.

To work this around disable the automation peers. To do so please set the static AutomationManager.AutomationMode property toAutomationMode.Disabled.
public MainWindow()
    AutomationManager.AutomationMode = AutomationMode.Disabled;

The issue originates from ItemsControlAutomationPeer. It is reported to Microsoft in their old connect portal here =>