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>

  • 相关阅读:
    第七章 路由 68 路由-前端路由和后端路由的概念
    第六章 组件 67 使用ref获取DOM元素和组件引用
    第六章 组件 65-66 组件案例-发表评论功能的实现
    第六章 组件 63 组件传值-父组件向子组件传值和data与props的区别
    第六章 组件 62 组件-组件定义方式的复习
    第六章 组件 61 动画-小球动画flag标识符的作用分析
    第六章 组件 60 组件切换-应用切换动画和mode方式
    第六章 组件 59 组件切换-使用Vue提供的component元素实现组件切换
    vscode代码格式化 空格的配置
    vim配置C++开发环境 win10
  • 原文地址:https://www.cnblogs.com/androllen/p/3080732.html
Copyright © 2011-2022 走看看