title: How to set properties of a d:DesignInstance in XAML?
body: <p>I'm using the new d:DesignInstance feature of the 4.0 series WPF tools. Works great!</p>
  
  <p>Only issue I'm having is: how can I set properties on the instance? Given something like this:</p>
  
  <pre><code>&lt;Grid d:DataContext="{d:DesignInstance plugin:SamplePendingChangesViewModel, IsDesignTimeCreatable=True}"/&gt;
  </code></pre>
  
  <p>How can I set properties on the viewmodel, aside from setting them in its default ctor or routing it through some other object initializer?</p>
  
  <p>I gave this a try but VS gives errors on compile "d:DataContext was not found":</p>
  
  <pre><code>&lt;Grid&gt;
      &lt;d:DataContext&gt;
          &lt;d:DesignInstance IsDesignTimeCreatable="True"&gt;
              &lt;plugin:SamplePendingChangesViewModel ActiveTagIndex="2"/&gt;
          &lt;/d:DesignInstance&gt;
      &lt;/d:DataContext&gt;
  </code></pre>
  
  <p>For the moment I'm going back to using a resource and 'd:DataContext={StaticResource SampleData}', where I can set the properties in the resource.</p>
  
  <p>Is there a way to do it via a d:DesignInstance?</p>