silverlight动画
来源:互联网 发布:r软件怎么用 编辑:程序博客网 时间:2024/04/28 18:24
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xml:lang="zh-CN"
xmlns:System="clr-namespace:System;assembly=mscorlib"
x:Name="Window"
Title="Window1"
Width="640" Height="480">
<Window.Resources>
<Storyboard x:Key="Timeline1" RepeatBehavior="Forever">
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.StrokeDashOffset)">
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="100"/>
<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="10"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</Window.Resources>
<Window.Triggers>
<EventTrigger RoutedEvent="FrameworkElement.Loaded" SourceName="rectangle">
<BeginStoryboard Storyboard="{StaticResource Timeline1}"/>
</EventTrigger>
</Window.Triggers>
<Grid x:Name="LayoutRoot">
<Grid Margin="125,0,291,68" VerticalAlignment="Bottom" Height="113">
<Rectangle Fill="{x:Null}" Stroke="#FF000000" StrokeDashCap="Square"
StrokeDashOffset="100" StrokeEndLineCap="Square" StrokeLineJoin="Miter"
StrokeStartLineCap="Flat" StrokeThickness="5" x:Name="rectangle">
<Rectangle.StrokeDashArray>
<System:Double>0</System:Double>
<System:Double>2</System:Double>
</Rectangle.StrokeDashArray>
</Rectangle>
<Button Margin="2,2,2,2" Content="Button"/>
</Grid>
</Grid>
</Window>
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xml:lang="zh-CN"
xmlns:System="clr-namespace:System;assembly=mscorlib"
x:Name="Window"
Title="Window1"
Width="640" Height="480">
<Window.Resources>
<Storyboard x:Key="Timeline1" RepeatBehavior="Forever">
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.StrokeDashOffset)">
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="100"/>
<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="10"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</Window.Resources>
<Window.Triggers>
<EventTrigger RoutedEvent="FrameworkElement.Loaded" SourceName="rectangle">
<BeginStoryboard Storyboard="{StaticResource Timeline1}"/>
</EventTrigger>
</Window.Triggers>
<Grid x:Name="LayoutRoot">
<Grid Margin="125,0,291,68" VerticalAlignment="Bottom" Height="113">
<Rectangle Fill="{x:Null}" Stroke="#FF000000" StrokeDashCap="Square"
StrokeDashOffset="100" StrokeEndLineCap="Square" StrokeLineJoin="Miter"
StrokeStartLineCap="Flat" StrokeThickness="5" x:Name="rectangle">
<Rectangle.StrokeDashArray>
<System:Double>0</System:Double>
<System:Double>2</System:Double>
</Rectangle.StrokeDashArray>
</Rectangle>
<Button Margin="2,2,2,2" Content="Button"/>
</Grid>
</Grid>
</Window>
- Silverlight动画
- silverlight动画
- silverlight 动画
- silverlight第一个动画
- Silverlight 2.0动画相关
- Silverlight 动画与定时器
- silverlight精要--动画效果
- silverlight 动画自管理
- Silverlight 动画类
- Silverlight 中的利萨茹动画
- silverlight动画行为
- silverlight加载动画
- silverlight 实现动画效果
- Silverlight 动画效果2
- Silverlight滑动动画
- Silverlight 旋转动画效果
- Silverlight 动画示例
- Silverlight进度条控件动画源代码
- linux 命令与文件的查询
- 事务隔离机制(转载)
- 查看字段的描述
- 函数指针与指针函数
- 关闭XPU盘自动播放
- silverlight动画
- silverlight 滚动效果
- Java正则之贪婪匹配,惰性匹配
- 云计算数据中心架构简图
- java中数据类型转换
- opensips 安装 mediaproxy
- ORA-14551: 无法在查询中执行 DML 操作
- 二单元one
- 创建维护计划--定时备份数据库时,属性ErrorLogFile 不可用于JobServer“[SERVER]......”的问题时的解决方案