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

SCSI/ASPI

开发平台:

Others

  1. <Canvas
  2. xmlns="http://schemas.microsoft.com/client/2007"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4.   Loaded="Control_Loaded"
  5. x:Name="LayoutRoot" 
  6. Width="99" Height="57">
  7. <Canvas.Resources>
  8. <Storyboard x:Name="FrameHide">
  9. <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="DimFrame" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
  10. <SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1.3"/>
  11. </DoubleAnimationUsingKeyFrames>
  12. <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="DimFrame" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
  13. <SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1.8"/>
  14. </DoubleAnimationUsingKeyFrames>
  15. </Storyboard>
  16. <Storyboard x:Name="FrameShow">
  17. <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="DimFrame" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
  18. <SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
  19. </DoubleAnimationUsingKeyFrames>
  20. <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="DimFrame" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
  21. <SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/>
  22. </DoubleAnimationUsingKeyFrames>
  23. </Storyboard>
  24. </Canvas.Resources>
  25. <Canvas Width="93" Height="51" x:Name="ThumCanvas" Canvas.Left="3" Canvas.Top="3" Clip="M0.5,0.5 L92.5,0.5 L92.5,50.5 L0.5,50.5 z">
  26. <Image Width="93" Height="51" Source="" Stretch="UniformToFill" x:Name="ThumImg"/>
  27.     <Rectangle x:Name="DimRec" Fill="#FFFFFFFF" Width="93" Height="51" Opacity="0.3"/>
  28. <Path Width="93" Height="51" Fill="#5CFFFFFF" Stretch="Fill" Data="F1 M1.6391277E-07,-4.61936E-07 L1.6391277E-07,31 73,31 73,-4.61936E-07 1.6391277E-07,-4.61936E-07 z M-10,-10.000001 L83,-10.000001 83,41 -10,41 -10,-10.000001 z" x:Name="DimFrame" RenderTransformOrigin="0.5,0.5">
  29. <Path.RenderTransform>
  30. <TransformGroup>
  31. <ScaleTransform ScaleX="1.3" ScaleY="1.8"/>
  32. <SkewTransform AngleX="0" AngleY="0"/>
  33. <RotateTransform Angle="0"/>
  34. <TranslateTransform X="0" Y="0"/>
  35. </TransformGroup>
  36. </Path.RenderTransform>
  37. </Path>
  38. </Canvas>
  39. </Canvas>