Display dot-dot-dot progress in a WPF button

前端 未结 1 675
北海茫月
北海茫月 2021-01-02 15:49

I found quite a few examples for showing progress where the progress bars and wheels are used however; I could find only one javascript example to show an ellipsis (dot-dot-

1条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-02 16:13

    The simplest way of doing that is using an ObjectAnimationUsingKeyFrames. Set the TargetProperty on the Content and set the Value of each DiscreteObjectKeyFrame to Reconciling. Reconciling.. Reconciling....

    Example for a ControlTemplate with a ContentPresenter named PART_Content:

    
        
            
                
                    
                        
                            
                            
                            
                            
                        
                    
                
            
        
    
    

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