WPF VB.Net

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="ShapesWindow" Height="160" Width="400">
      
        
          
          
          
            
              
            

          
        
        
          
            
              
            

          
        
      

    
                      Width="200" Height="100" Stroke="Black" StrokeThickness="1" 
            Margin="10">
            
                              StartPoint="0,0" EndPoint="1,1">
                
                
                
              
            

            
              
                
                  
                                          Storyboard.TargetName="animatedEndPointExample"
                      Storyboard.TargetProperty="EndPoint"
                      From="1,1" To="0.5,0" Duration="0:0:3" FillBehavior="Stop" />