title: Instantiate object defined in other XAML file
body: <p>I have a XAML file that looks something like this:</p>
  
  <pre><code>&lt;!-- File1.xaml --&gt;
  &lt;m:SomeName xmlns:m="clr-namespace:SomeNamespace"&gt;
      ...
  &lt;/m:SomeName&gt;
  </code></pre>
  
  <p>I have another XAML file in which I would like to instantiate the object defined in <code>File1.xaml</code> and set it to a property on another object defined in <code>File2.xaml</code>:</p>
  
  <pre><code>&lt;m:SomeOtherName xmlns:m="clr-namespace:SomeNamespace"&gt;
     &lt;m:SomeOtherName.Property&gt;
         &lt;!-- I want File1.xaml object here --&gt;
     &lt;/m:SomeOtherName.Property&gt;
  &lt;/m:SomeOtherName&gt;
  </code></pre>
  
  <p>Any ideas?</p>