WPF loading spinner

后端 未结 14 828
我寻月下人不归
我寻月下人不归 2020-12-02 05:30

The goal is to display the information that the application is working. So I\'m looking for an intelligent implementation sample of a loading spinner using WPF / MVVM.

14条回答
  •  -上瘾入骨i
    2020-12-02 06:22

    You can do it without any additional controls and libraries, using only Image control and transform:

    
        
            
        
        
            
                
                    
                        
                    
                
            
        
    
    

    Replace /images/spinner.png with your image. Change To="360" to To="-360" if you want to rotate it counterclockwise. Duration="0:0:1" equals to 1 second per rotation.

提交回复
热议问题