title: WPF TabControl Memory issues
body: <p>If I have the follow TabControl and everything works properly and when I switch to the second tabitem it just shows without no issues.</p>
  
  <pre><code>&lt;TabControl&gt;
     &lt;TabItem&gt; //datagrid &lt;/TabItem&gt;
     &lt;TabItem&gt; //datagrid2 &lt;/TabItem&gt;
  &lt;TabControl&gt;
  </code></pre>
  
  <p>But if i have this xaml, when i click the second tabitem the memory goes out of control</p>
  
  <pre><code>&lt;TabControl&gt;
     &lt;TabItem&gt; //datagrid &lt;/TabItem&gt;
  &lt;TabControl&gt;
  &lt;TabControl&gt;
     &lt;TabItem&gt; //datagrid2 &lt;/TabItem&gt;
  &lt;TabControl&gt;
  </code></pre>
  
  <p>What am I missing?</p>