很好玩的滚动效果
来源:互联网 发布:echarts折线图显示数据 编辑:程序博客网 时间:2024/04/29 14:04
很好玩的滚动效果
周银辉
你可以粘贴以下代码到XMLPad以查看动画效果:
周银辉
你可以粘贴以下代码到XMLPad以查看动画效果:
<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>
文章来源于 http://www.cnblogs.com/zhouyinhui 版权归原作者所有
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>
文章来源于 http://www.cnblogs.com/zhouyinhui 版权归原作者所有
- 很好玩的滚动效果
- 很好玩的滚动效果
- 很好玩的滚动效果
- 一个很好玩的效果,可以作为很多特效使用
- 很好玩的JS
- 一个很好玩的表
- 很好玩的聊天机器人
- 很好玩的读心术~
- 两个很好玩的网站
- 很好玩的网站导航
- 很好玩的一个网站
- 看起来很好玩的样子.
- 学习css3过渡效果,可以实现很好玩的东西,无需js
- 很好玩的手机通讯“算法”
- 一款很好玩的Flash游戏
- google的一些秘密入口 很好玩
- google的一些秘密入口 很好玩
- google的一些秘密入口 很好玩
- WPF中, 启用添加到RichTextBox中的控件
- .net3.0 中跨线程访问控件
- WPF中,如何从Toolbar中跳出Tab循环
- C# Version 3.0 Specification
- Show me the Template
- 很好玩的滚动效果
- 我的简约播放器
- WPF中的数据模板(DataTemplate)
- [CHM]果壳中的XAML(XAML in a Nutshell)
- [转] 使用模板自定义 WPF 控件
- WPF中的DoubleAnimation
- WPF中的控件布局
- 创建像Vista任务栏一样的半透明玻璃按钮
- 在C#代码中控制Storyboard
原创粉丝点击
热门IT博客
热门问题
老师的惩罚
人脸识别
我在镇武司摸鱼那些年
重生之率土为王
我在大康的咸鱼生活
盘龙之生命进化
天生仙种
凡人之先天五行
春回大明朝
姑娘不必设防,我是瞎子
订做书架
办公室书架
装饰书架
书架图书馆
看书的书架
一个书架
悬空书架
书架深度
加入书架
丹特丽安的书架
木工书架造型图片
纸箱做漂亮书架图解
少年书架阅读答案
书架韩三千苏迎夏
附魔台100级书架怎么摆
论乱全集书架
榻榻米书桌书架一体
书桌简易书架
创意书架图片
简易书架图片
墙上书架图片
墙上创意书架效果图
卧室墙上书架效果图
墙上书架效果图
创意书架设计图
简易书柜书架
客厅书架设计
创意书架设计
图书馆书架价格
钢制书架厂家
图书馆钢制书架
书架一般多少钱
实木书架的价格
单柱双面书架
现代简约书架
密集书架价格
电脑桌书架一体
双柱双面书架
六层双面书架
书架怎么摆好看
墙上创意书架