title: Setting visual state group from codebehind?
body: <p>Just wondering how I can switch between visual states in a visual state group, like if I have:</p>
  
  <pre><code>&lt;SomeControl x:name="ControlName"&gt;
      &lt;VisualStateManager.VisualStateGroups&gt;
         &lt;VisualStateGroup x:Name="CommonStates"&gt;
            &lt;VisualState x:Name="Me"&gt;..&lt;/VisualState&gt;
            &lt;VisualState x:Name="You"&gt;..&lt;/VisualState&gt;
  </code></pre>
  
  <p>And so on and so forth, how can I from codebehind set the visual state group given?</p>
  
  <p>Another question I have is, if there isa control in a control, say a Canvas, can I set individual stategroups for those seperately to the parent control?</p>