zoukankan      html  css  js  c++  java
  • wp7 弹出动画

    <phone:PhoneApplicationPage.Resources>
    <Storyboard x:Name="Storyboard1">
    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="image">
    <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
    <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="123"/>
    </DoubleAnimationUsingKeyFrames>
    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="image">
    <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
    <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
    </DoubleAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="image">
    <DiscreteObjectKeyFrame KeyTime="0">
    <DiscreteObjectKeyFrame.Value>
    <Visibility>Visible</Visibility>
    </DiscreteObjectKeyFrame.Value>
    </DiscreteObjectKeyFrame>
    <DiscreteObjectKeyFrame KeyTime="0:0:0.2">
    <DiscreteObjectKeyFrame.Value>
    <Visibility>Collapsed</Visibility>
    </DiscreteObjectKeyFrame.Value>
    </DiscreteObjectKeyFrame>
    </ObjectAnimationUsingKeyFrames>
    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="image1">
    <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
    <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="95"/>
    </DoubleAnimationUsingKeyFrames>
    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="image1">
    <EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
    <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="75"/>
    </DoubleAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="image1">
    <DiscreteObjectKeyFrame KeyTime="0:0:0.2">
    <DiscreteObjectKeyFrame.Value>
    <Visibility>Visible</Visibility>
    </DiscreteObjectKeyFrame.Value>
    </DiscreteObjectKeyFrame>
    <DiscreteObjectKeyFrame KeyTime="0:0:0.4">
    <DiscreteObjectKeyFrame.Value>
    <Visibility>Collapsed</Visibility>
    </DiscreteObjectKeyFrame.Value>
    </DiscreteObjectKeyFrame>
    </ObjectAnimationUsingKeyFrames>
    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="image2">
    <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
    <EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="110"/>
    </DoubleAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="image2">
    <DiscreteObjectKeyFrame KeyTime="0:0:0.4">
    <DiscreteObjectKeyFrame.Value>
    <Visibility>Visible</Visibility>
    </DiscreteObjectKeyFrame.Value>
    </DiscreteObjectKeyFrame>
    <DiscreteObjectKeyFrame KeyTime="0:0:0.6">
    <DiscreteObjectKeyFrame.Value>
    <Visibility>Collapsed</Visibility>
    </DiscreteObjectKeyFrame.Value>
    </DiscreteObjectKeyFrame>
    </ObjectAnimationUsingKeyFrames>
    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="image3">
    <EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="0"/>
    <EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="-95"/>
    </DoubleAnimationUsingKeyFrames>
    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="image3">
    <EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="0"/>
    <EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="75"/>
    </DoubleAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="image3">
    <DiscreteObjectKeyFrame KeyTime="0:0:0.6">
    <DiscreteObjectKeyFrame.Value>
    <Visibility>Visible</Visibility>
    </DiscreteObjectKeyFrame.Value>
    </DiscreteObjectKeyFrame>
    <DiscreteObjectKeyFrame KeyTime="0:0:0.8">
    <DiscreteObjectKeyFrame.Value>
    <Visibility>Collapsed</Visibility>
    </DiscreteObjectKeyFrame.Value>
    </DiscreteObjectKeyFrame>
    </ObjectAnimationUsingKeyFrames>
    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="image4">
    <EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="0"/>
    <EasingDoubleKeyFrame KeyTime="0:0:1" Value="-123"/>
    </DoubleAnimationUsingKeyFrames>
    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="image4">
    <EasingDoubleKeyFrame KeyTime="0:0:0.8" Value="0"/>
    <EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
    </DoubleAnimationUsingKeyFrames>
    <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="image4">
    <DiscreteObjectKeyFrame KeyTime="0:0:0.8">
    <DiscreteObjectKeyFrame.Value>
    <Visibility>Visible</Visibility>
    </DiscreteObjectKeyFrame.Value>
    </DiscreteObjectKeyFrame>
    <DiscreteObjectKeyFrame KeyTime="0:0:1">
    <DiscreteObjectKeyFrame.Value>
    <Visibility>Collapsed</Visibility>
    </DiscreteObjectKeyFrame.Value>
    </DiscreteObjectKeyFrame>
    </ObjectAnimationUsingKeyFrames>
    </Storyboard>
    </phone:PhoneApplicationPage.Resources>

    <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
    <Image x:Name="image4" HorizontalAlignment="Right" Height="74" VerticalAlignment="Bottom" Width="100" Source="/images/yy_infos.png" Margin="0,0,49,0" RenderTransformOrigin="0.5,0.5">
    <Image.RenderTransform>
    <CompositeTransform/>
    </Image.RenderTransform>
    </Image>
    <Image x:Name="image3" HorizontalAlignment="Right" Height="74" VerticalAlignment="Bottom" Width="100" Margin="0,0,90,80" Source="/images/yy_comment.png" RenderTransformOrigin="0.5,0.5">
    <Image.RenderTransform>
    <CompositeTransform/>
    </Image.RenderTransform>
    </Image>
    <Image x:Name="image2" Height="100" VerticalAlignment="Bottom" Margin="190,0,190,130" Source="/images/yy_class.png" RenderTransformOrigin="0.5,0.5">
    <Image.RenderTransform>
    <CompositeTransform/>
    </Image.RenderTransform>
    </Image>
    <Image x:Name="image1" HorizontalAlignment="Left" Height="74" VerticalAlignment="Bottom" Width="100" Margin="90,0,0,80" Source="/images/yy_home.png" RenderTransformOrigin="0.5,0.5">
    <Image.RenderTransform>
    <CompositeTransform/>
    </Image.RenderTransform>
    </Image>
    <Image x:Name="image" HorizontalAlignment="Left" Width="100" Margin="50,0,0,0" Height="74" VerticalAlignment="Bottom" Source="/images/yy_home.png" RenderTransformOrigin="0.5,0.5">
    <Image.RenderTransform>
    <CompositeTransform/>
    </Image.RenderTransform>
    </Image>
    <Image Height="54" VerticalAlignment="Bottom" Margin="178,0,178,0" Source="/images/yy_zoom.png"/></Grid>

  • 相关阅读:
    kernel pwn 入门环境搭建
    linux下sh脚本/bin/bash^M问题解决
    Linux下的C#连接Mysql数据库
    使用docker Hub
    使用ajax+php+mysql实现数据库定时刷新
    docker 安装LAMP环境
    解决Mysql错误:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
    php实现socket简单的例子
    一次mysql调优过程
    一次mysql主从同步问题及解决过程
  • 原文地址:https://www.cnblogs.com/androllen/p/3080732.html
Copyright © 2011-2022 走看看