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

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.         Width="420"
  5.         Height="412"
  6.         x:Name="LayoutRoot"
  7.         RenderTransformOrigin="0.5,0.5"
  8.         Opacity="1"
  9.         >
  10. <Canvas.Resources>
  11.     <Storyboard x:Name="ShowOff">
  12.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(ScaleTransform.ScaleX)">
  13.         <SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1.05"/>
  14.       </DoubleAnimationUsingKeyFrames>
  15.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(ScaleTransform.ScaleY)">
  16.         <SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1.05"/>
  17.       </DoubleAnimationUsingKeyFrames>
  18.     </Storyboard>
  19.     <Storyboard x:Name="CalmDown">
  20.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(ScaleTransform.ScaleX)">
  21.         <SplineDoubleKeyFrame KeyTime="00:00:00.100000" Value="1"/>
  22.       </DoubleAnimationUsingKeyFrames>
  23.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(ScaleTransform.ScaleY)">
  24.         <SplineDoubleKeyFrame KeyTime="00:00:00.100000" Value="1"/>
  25.       </DoubleAnimationUsingKeyFrames>
  26.     </Storyboard>
  27.     <Storyboard x:Name="FadeIn">
  28.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(Canvas.Opacity)">
  29.         <SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/>
  30.       </DoubleAnimationUsingKeyFrames>
  31.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(ScaleTransform.ScaleX)">
  32.         <SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/>
  33.       </DoubleAnimationUsingKeyFrames>
  34.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(ScaleTransform.ScaleY)">
  35.         <SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/>
  36.       </DoubleAnimationUsingKeyFrames>
  37.     </Storyboard>
  38.     <Storyboard x:Name="FadeOut">
  39.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(Canvas.Opacity)">
  40.         <SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0.5"/>
  41.       </DoubleAnimationUsingKeyFrames>
  42.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(ScaleTransform.ScaleX)">
  43.         <SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0.8"/>
  44.       </DoubleAnimationUsingKeyFrames>
  45.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(ScaleTransform.ScaleY)">
  46.         <SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0.8"/>
  47.       </DoubleAnimationUsingKeyFrames>
  48.     </Storyboard>
  49.     <Storyboard x:Name="OutAndIn">
  50.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(Canvas.Opacity)">
  51.         <SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="1"/>
  52.         <SplineDoubleKeyFrame KeyTime="00:00:00.4000000" Value="1"/>
  53.       </DoubleAnimationUsingKeyFrames>
  54.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)">
  55.         <SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="-50"/>
  56.         <SplineDoubleKeyFrame KeyTime="00:00:00.4000000" Value="0"/>
  57.       </DoubleAnimationUsingKeyFrames>
  58.     </Storyboard>
  59.     <Storyboard x:Name="Loading">
  60.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LoadRec0" Storyboard.TargetProperty="(Rectangle.Opacity)">
  61.         <DiscreteDoubleKeyFrame KeyTime="00:00:00.0000000" Value="1"/>
  62.         <DiscreteDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0.3"/>
  63.         <DiscreteDoubleKeyFrame KeyTime="00:00:00.6000000" Value="0.3"/>
  64.         <DiscreteDoubleKeyFrame KeyTime="00:00:00.9000000" Value="0.3"/>
  65.       </DoubleAnimationUsingKeyFrames>
  66.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LoadRec1" Storyboard.TargetProperty="(Rectangle.Opacity)">
  67.         <DiscreteDoubleKeyFrame KeyTime="00:00:00.0000000" Value="0.3"/>
  68.         <DiscreteDoubleKeyFrame KeyTime="00:00:00.3000000" Value="1"/>
  69.         <DiscreteDoubleKeyFrame KeyTime="00:00:00.6000000" Value="0.3"/>
  70.         <DiscreteDoubleKeyFrame KeyTime="00:00:00.9000000" Value="0.3"/>
  71.       </DoubleAnimationUsingKeyFrames>
  72.       <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LoadRec2" Storyboard.TargetProperty="(Rectangle.Opacity)">
  73.         <DiscreteDoubleKeyFrame KeyTime="00:00:00.0000000" Value="0.3"/>
  74.         <DiscreteDoubleKeyFrame KeyTime="00:00:00.3000000" Value="0.3"/>
  75.         <DiscreteDoubleKeyFrame KeyTime="00:00:00.6000000" Value="1"/>
  76.         <DiscreteDoubleKeyFrame KeyTime="00:00:00.9000000" Value="1"/>
  77.       </DoubleAnimationUsingKeyFrames>
  78.     </Storyboard>
  79. </Canvas.Resources>
  80. <Canvas.RenderTransform>
  81. <TransformGroup>
  82. <RotateTransform x:Name="Rotation" Angle="0"/>
  83.       <TranslateTransform X="0" Y="0"/>
  84.       <ScaleTransform ScaleX="1" ScaleY="1"/>
  85. </TransformGroup>
  86. </Canvas.RenderTransform>
  87. <Image Width="432" Height="424" Source="Assets/Image/sliceBG_shadow.png" Stretch="Fill" x:Name="BgShadow" Canvas.Top="-2" Canvas.Left="-3"/>
  88. <Image Width="420" Height="412" Stretch="Fill" Canvas.Left="0" Canvas.Top="0" x:Name="BgPattern" Source="Assets/Image/sliceBG.png"/>
  89.   <Image Width="379" Height="248" Stretch="UniformToFill" x:Name="MainThum" Canvas.Left="21" Canvas.Top="21.24"/>
  90.   <Canvas Width="379" Height="248" x:Name="LoadingCanvas" Canvas.Left="21" Canvas.Top="21.24">
  91.     <Rectangle x:Name="LoadRec0" Width="37" Height="4" Fill="#FF7E7E7E" Canvas.Left="126" Canvas.Top="143"/>
  92.     <Rectangle x:Name="LoadRec1" Width="37" Height="4" Fill="#FF7E7E7E" Canvas.Left="171" Canvas.Top="143"/>
  93.     <Rectangle x:Name="LoadRec2" Width="37" Height="4" Fill="#FF7E7E7E" Canvas.Left="216" Canvas.Top="143"/>
  94.     <Image Source="Assets/Image/loadingGrid_text.png" Stretch="Fill" Canvas.Left="165.5" Canvas.Top="164" Opacity="1" x:Name="LoadingText"/>
  95.   </Canvas>
  96. <Image Width="379" Height="248" Stretch="Uniform" x:Name="MainImage" Canvas.Left="21" Canvas.Top="21.24"/>
  97. <Image Source="" Stretch="Fill" Canvas.Top="288" Canvas.Left="21" x:Name="TitleImage"/>
  98. <Image Source="" Stretch="Fill" Canvas.Left="323" Canvas.Top="379" x:Name="AuthorImage"/>
  99. </Canvas>