Hello,
This attached sample application demonstrates a memory leak scenario related to the usage of dxb:MenuFocusManager.ChildWindowRetainsFocusOnParentBarItemClick="True" .
Can you please check?
(It was detected on version 14.1.6 and then updated to version 15.1.8 but still happens).
Thanks.
Best regards,
Murilo
Hi Murilo,
Thank you for your sample. I confirm that setting ChildWindowRetainsFocusOnParentBarItemClick leads to a memory leak. Our developers will research this issue.
As a quick fix, you can set this property to False when the window is closed:
Closing += WindowLeak_Closing; void WindowLeak_Closing(object sender, System.ComponentModel.CancelEventArgs e) { MenuFocusManager.SetChildWindowRetainsFocusOnParentBarItemClick(this, false); }