title: How do you save a UserControl xaml to an XML File and not get all the un-necessary details?
body: <p>I am trying to save the following UserControl to a file:</p>
  
  <pre><code>&lt;local:MyUserControl Name="uc1" &gt;&lt;/local:MyUserControl&gt;
  </code></pre>
  
  <p>I am using the following code to save out the user control to a file:</p>
  
  <pre><code>FileStream fs = new FileStream("File.xml", FileMode.Open, FileAccess.ReadWrite);
  System.Windows.Makrup.XamlWriter.Save(uc1, fs);
  </code></pre>
  
  <p>This works except that the output isn't just the line up above.  It lists all the XAML in my user control (labels, textbox, combo box, etc.). </p>
  
  <p>When I save multiple user control instances to a .xaml file and then try and read that XAML file back in, the XamlReader takes issue with the same Name being used.</p>
  
  <p>Thank you!</p>