1
Answer

Is it possible to dispose of user control in WPF?

Titus Taylor

Titus Taylor

5y
7.2k
1
Is it possible to dispose of a unmanaged user control - say - after a tab is closed?
 
We set a Document Panel from Dev Express and the .Content property to:
 
  1. TestControl = Activator.CreateInstance(matchingControlName, new Object[] { stringParam }) as UserControl;  
And when they close the tab, I want to fully remove this user control from memory. 
Answers (1)