title: Windows 10 - Transition for Visual State changes
body: <p>I'm trying to make my Windows 10 app utilize responsive design by using visual state triggers to change the width of a grid.  When the state changes, the width jumps to the next width.  </p>
  
  <p>Is there a way to smoothen this change with a transition or animation of some kind?</p>
  
  <pre><code>&lt;VisualStateManager.VisualStateGroups&gt;
       &lt;VisualStateGroup&gt;
           &lt;VisualState x:Name="DesktopWideState"&gt;
               &lt;VisualState.StateTriggers&gt;
                   &lt;AdaptiveTrigger MinWindowWidth="1280" /&gt;
               &lt;/VisualState.StateTriggers&gt;
  
               &lt;VisualState.Setters&gt;
                   &lt;Setter Target="ContentPanel.Width"
                      Value="1000" /&gt;
               &lt;/VisualState.Setters&gt;
           &lt;/VisualState&gt;
  
          &lt;VisualState x:Name="DefaultState"&gt;
              &lt;VisualState.StateTriggers&gt;
                  &lt;AdaptiveTrigger MinWindowWidth="0" /&gt;
              &lt;/VisualState.StateTriggers&gt;
           &lt;/VisualState&gt;
      &lt;/VisualStateGroup&gt;
  &lt;/VisualStateManager.VisualStateGroups&gt;
  </code></pre>