超炫酷的WPF实现Loading控件效果

2019-12-30 11:11:34刘景俊
  • <system:Double x:Key = "ParticleOpacity">1</system:Double>  <system:Double x:Key = "ParticleRadius">5</system:Double> 
  •   <system:Double x:Key = "StartingPointX">0</system:Double> 
  • <system:Double x:Key = "StartingPointY">-20</system:Double>   
  • <system:Double x:Key = "RotationPointX">0.5</system:Double>  <system:Double x:Key = "RotationPointY">0.5</system:Double> 
  •   <!-- StoryBoard --> 
  • <system:TimeSpan x:Key = "StoryBoardBeginTimeP0">00:00:00.000</system:TimeSpan>  <system:TimeSpan x:Key = "StoryBoardBeginTimeP1">00:00:00.100</system:TimeSpan> 
  • <system:TimeSpan x:Key = "StoryBoardBeginTimeP2">00:00:00.200</system:TimeSpan>  <system:TimeSpan x:Key = "StoryBoardBeginTimeP3">00:00:00.300</system:TimeSpan> 
  • <system:TimeSpan x:Key = "StoryBoardBeginTimeP4">00:00:00.400</system:TimeSpan>  <Duration x:Key = "StoryBoardDuration">00:00:01.800</Duration> 
  •   <!-- Particle Origin Angles --> 
  • <system:Double x:Key = "ParticleOriginAngleP0">0</system:Double>  <system:Double x:Key = "ParticleOriginAngleP1">-10</system:Double> 
  • <system:Double x:Key = "ParticleOriginAngleP2">-20</system:Double>  <system:Double x:Key = "ParticleOriginAngleP3">-30</system:Double> 
  • <system:Double x:Key = "ParticleOriginAngleP4">-40</system:Double>   
  • <!-- Particle Position & Timing 1 -->  <system:Double x:Key = "ParticleBeginAngle1">0</system:Double> 
  • <system:Double x:Key = "ParticleEndAngle1">90</system:Double>  <system:TimeSpan x:Key = "ParticleBeginTime1">00:00:00.000</system:TimeSpan> 
  • <Duration x:Key = "ParticleDuration1">00:00:00.750</Duration>   
  • <!-- Particle Position & Timing 2 -->  <system:Double x:Key = "ParticleBeginAngle2">90</system:Double>