TracingIcon.xaml
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:1k
源码类别:

SCSI/ASPI

开发平台:

Others

  1. <Canvas xmlns="http://schemas.microsoft.com/client/2007" 
  2.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3.         x:Name="LayoutRoot"
  4.         Loaded="Control_Loaded"
  5.         Width="20"
  6.         Height="20"
  7.         >
  8. <Canvas.Resources>
  9. <Storyboard x:Name="FadeIn">
  10. <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.Opacity)">
  11. <SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="1"/>
  12. <SplineDoubleKeyFrame KeyTime="00:00:01.5000000" Value="1"/>
  13. <SplineDoubleKeyFrame KeyTime="00:00:02.3000000" Value="0"/>
  14. </DoubleAnimationUsingKeyFrames>
  15. </Storyboard>
  16. <Storyboard x:Name="FadeOut">
  17. <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.Opacity)">
  18. <SplineDoubleKeyFrame KeyTime="00:00:00.4000000" Value="0"/>
  19. </DoubleAnimationUsingKeyFrames>
  20. </Storyboard>
  21. </Canvas.Resources>
  22. <Image Width="40" Height="40" Canvas.Left="0" Canvas.Top="0" x:Name="PlusImage" Source="Assets/Image/plus_icon.png" Stretch="Fill"/>
  23. <Image Width="40" Height="40" Canvas.Left="0" Canvas.Top="0" x:Name="MinusImage" Source="Assets/Image/minus_icon.png" Stretch="Fill"/>
  24. </Canvas>