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

SCSI/ASPI

开发平台:

Others

  1. <Canvas xmlns="http://schemas.microsoft.com/client/2007"
  2.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3.         Loaded="Control_Loaded"
  4.         x:Name="LayoutRoot"
  5.         Width="10"
  6.         Height="10"
  7.         RenderTransformOrigin="0,0"
  8.         >
  9. <Canvas.Resources>
  10. <Storyboard x:Name="FadeIn">
  11. <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.Opacity)">
  12. <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
  13. <SplineDoubleKeyFrame KeyTime="00:00:00.1500000" Value="1"/>
  14. </DoubleAnimationUsingKeyFrames>
  15. <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
  16. <SplineDoubleKeyFrame KeyTime="00:00:00.1500000" Value="1"/>
  17. </DoubleAnimationUsingKeyFrames>
  18. <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
  19. <SplineDoubleKeyFrame KeyTime="00:00:00.1500000" Value="1"/>
  20. </DoubleAnimationUsingKeyFrames>
  21. <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ShadowCover" Storyboard.TargetProperty="(UIElement.Opacity)">
  22. <SplineDoubleKeyFrame KeyTime="00:00:00.1500000" Value="1"/>
  23. </DoubleAnimationUsingKeyFrames>
  24.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="MainImage" Storyboard.TargetProperty="(UIElement.Opacity)">
  25.         <SplineDoubleKeyFrame KeyTime="00:00:00.1500000" Value="1"/>
  26.       </DoubleAnimationUsingKeyFrames>
  27. </Storyboard>
  28.     <Storyboard x:Name="FadeInShadow">
  29.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.Opacity)">
  30.         <SplineDoubleKeyFrame KeyTime="00:00:00.0000000" Value="0"/>
  31.         <SplineDoubleKeyFrame KeyTime="00:00:00.0500000" Value="0"/>
  32.       </DoubleAnimationUsingKeyFrames>
  33.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
  34.         <SplineDoubleKeyFrame KeyTime="00:00:00.0500000" Value="0.9"/>
  35.       </DoubleAnimationUsingKeyFrames>
  36.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
  37.         <SplineDoubleKeyFrame KeyTime="00:00:00.0500000" Value="0.9"/>
  38.       </DoubleAnimationUsingKeyFrames>
  39.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="MainImage" Storyboard.TargetProperty="(UIElement.Opacity)">
  40.         <SplineDoubleKeyFrame KeyTime="00:00:00.0000000" Value="0"/>
  41.         <SplineDoubleKeyFrame KeyTime="00:00:00.0500000" Value="0"/>
  42.       </DoubleAnimationUsingKeyFrames>
  43.     </Storyboard>
  44. <Storyboard x:Name="FadeOut">
  45. <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.Opacity)">
  46. <SplineDoubleKeyFrame KeyTime="00:00:00.1500000" Value="0"/>
  47. </DoubleAnimationUsingKeyFrames>
  48. <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
  49. <SplineDoubleKeyFrame KeyTime="00:00:00.1500000" Value="0.9"/>
  50. </DoubleAnimationUsingKeyFrames>
  51. <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
  52. <SplineDoubleKeyFrame KeyTime="00:00:00.1500000" Value="0.9"/>
  53. </DoubleAnimationUsingKeyFrames>
  54. <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ShadowCover" Storyboard.TargetProperty="(UIElement.Opacity)">
  55. <SplineDoubleKeyFrame KeyTime="00:00:00.1500000" Value="0"/>
  56. </DoubleAnimationUsingKeyFrames>
  57.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="MainImage" Storyboard.TargetProperty="(UIElement.Opacity)">
  58.         <SplineDoubleKeyFrame KeyTime="00:00:00.1500000" Value="0"/>
  59.       </DoubleAnimationUsingKeyFrames>
  60. </Storyboard>
  61. </Canvas.Resources>
  62. <Canvas.RenderTransform>
  63. <TransformGroup>
  64. <ScaleTransform ScaleX="1" ScaleY="1"/>
  65. <SkewTransform AngleX="0" AngleY="0"/>
  66. <RotateTransform Angle="0"/>
  67. <TranslateTransform X="0" Y="0"/>
  68. </TransformGroup>
  69. </Canvas.RenderTransform>
  70. <Rectangle Width="10" Height="10" Fill="#B2000000" x:Name="ShadowCover" Opacity="0"/>
  71.   <Canvas x:Name="ContentHolder">
  72.     <Rectangle x:Name="ImageBorder" Width="10" Height="10" Fill="#ffcccccc" Stroke="Black" StrokeThickness="1"/>
  73.     <Image x:Name="MainImage" Opacity="0" Canvas.Left="10" Canvas.Top="10" RenderTransformOrigin="0,0">
  74. <Image.RenderTransform>
  75. <TransformGroup>
  76. <ScaleTransform x:Name="ImageScale" ScaleX="1" ScaleY="1"/>
  77. <SkewTransform AngleX="0" AngleY="0"/>
  78. <RotateTransform Angle="0"/>
  79. <TranslateTransform X="0" Y="0"/>
  80. </TransformGroup>
  81. </Image.RenderTransform>
  82. </Image>
  83.   </Canvas>
  84. </Canvas>