title: VisualStateManager.GoToState for FrameworkElement
body: <p>I have troubles animating a <code>StackPanel</code> with the <code>VisualStateManager</code>.</p>
  
  <p><code>VisualStateManager.GoToState()</code> accepts a <code>Control</code> as parameter, but <code>StackPanel</code> is of type <code>UIElement</code>/<code>FrameworkElement</code>.</p>
  
  <p>How can I call <code>VisualStateManager.GoToState()</code> on a <code>StackPanel</code>?</p>