Infinitely rotate rectangle in XAML

前端 未结 1 1909
谎友^
谎友^ 2021-02-05 02:12

How to define XAML to rotate a rectangle infinitely?

So far I found a solution with code but no xaml: http://www.codeproject.com/Articles/23257/Beginner-s-WPF-Animation-T

1条回答
  •  情书的邮戳
    2021-02-05 02:37

    Something like this

    
      
        
        
      
      
        
          
            
              
            
          
        
      
    
    

    Of course you can remove Loaded trigger and run this storyboard whenever you want.

    0 讨论(0)
提交回复
热议问题