WPF VB.Net

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Class="Microsoft.Samples.Graphics.RectangleExample"
    WindowTitle="Example">
  
              >
        This is rotating text
        
          
        

        
        
          
            
              
                                  Storyboard.TargetName="MyRotateTransform" 
                  Storyboard.TargetProperty="(RotateTransform.Angle)"
                  From="0.0" To="360" Duration="0:0:10" 
                  RepeatBehavior="Forever" />