title: A WindowsFormsHost cannot be rotated. To suppress this error, handle the LayoutError event and set ThrowException to false
body: <p>I have VLC ActiveX Plugin control inside of WPF.</p>
  
  <pre><code>&lt;Grid&gt; 
      &lt;WindowsFormsHost  HorizontalAlignment="Stretch" Margin="0,0,0,0" Visibility="Hidden"   Name="windowsFormsHost1" VerticalAlignment="Stretch" ClipToBounds="True" SnapsToDevicePixels="True"  /&gt; 
   &lt;/Grid&gt; 
  </code></pre>
  
  <p>And when I try to apply some animation I am facing this error:</p>
  
  <pre><code>A WindowsFormsHost cannot be rotated. To suppress this error, handle the LayoutError event and set ThrowException to false. 
  </code></pre>
  
  <p>Any clue how we can fix it?</p>