title: Performance problem loading lots of user controls
body: <p>My application is loading a bunch of the same user control into a <code>ScrollPanel</code>. The problem is, this is very slow.</p>
  
  <p>The profiler show that the method <code>Application.LoadComponent()</code>, which is called internally by in the designer code in the constructor of my user control, is the bottleneck. The documentation of this method says, that this method load <strong>XAML</strong> files. </p>
  
  <p>The question is, how can I use BAML instead of XAML? How can I accomplish that the XAML for my user control must not be parse again and again when creating new instances from it? Is there another way to make loading my user controls faster?</p>