Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1921
How to remove content pane properly
posted

Hi,

Problem here is, i create an user control with some rich ui controls and functionality.

Then I set that user control as a content in a ContentPane and added into tab container as document at runtime.

If i close the tab pane using tab header / (x) icon / context menu -> close,

The pane get close but the content remain in memory. How?

(I tried with CloseAction = RemovePane and HidePane) 

Actually i binded a command in user control, even after closed the window the canexecute fires oftenly.

So, How to destroy the content when close the content pane?

Regards,

Ramesh.P

 

 

 

Parents Reply Children
No Data