WPF C#

  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  x:Class="Microsoft.Samples.Graphics.Transforms.AnimatedSkewTransformExample"
  WindowTitle="Animated SkewTransform Example">
   
    
        
                      Height="50" Width="50" Fill="Red" Stroke="Blue" StrokeThickness="2" Canvas.Left="100" Canvas.Top="100">
            
              
            

          
                      StrokeDashArray="4,1" StrokeThickness="2"
            Canvas.Left="100" Canvas.Top="100" />            
        
      
        Start
        Stop
        
          
            
              
                                  Storyboard.TargetName="MyAnimatedSkewTransform" 
                  Storyboard.TargetProperty="AngleX" 
                  From="0" To="180" Duration="0:0:4" />
                                  Storyboard.TargetName="MyAnimatedSkewTransform" 
                  Storyboard.TargetProperty="AngleY" 
                  From="0" To="180" Duration="0:0:4" />