代码背后的VB.net动画! [英] VB.net Animation in the Code Behind !

查看:63
本文介绍了代码背后的VB.net动画!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿所有,


我在XAML中有一个具有此artibute的stroryboard - >


< Storyboard x:Key = QUOT; Start_Rotation" >


和其他关键时间>


< EasingDoubleKeyFrame x:Name =" X_Key" KeyTime = QUOT; 0:0:0.7"当我尝试在

> (VB.Net)


通过写作 - >> 


Start_Rotation.X_Key + = 1


代码没有编译说 - > Start_Animation未声明为


我知道其简单提示但请帮助


谢谢


 


 

解决方案

你好,


您可以查看此页面:


http://msdn.microsoft.com/en-us/library/system.windows.media.animation.storyboard.aspx


在底部,它会围绕使用代码修改故事板进行深入讨论。


HTH


干杯


Hey all,

I have a stroryboard in XAML that have this artibute ->

<Storyboard x:Key="Start_Rotation" >

and another keytime in like that >

<EasingDoubleKeyFrame x:Name="X_Key" KeyTime="0:0:0.7" Value="0"/>

when i tried to modify its keytime property in the code behind ( VB.Net )

by writting ->> 

Start_Rotation.X_Key += 1

The code didn`t compiled saying --> Start_Animation is not declared

i know its easy tip but please in need help

thank you

 

 

解决方案

Howdy,

You can take a look at this page:

http://msdn.microsoft.com/en-us/library/system.windows.media.animation.storyboard.aspx

Right down the bottom it goes into a pretty indepth discussion around using code to modify a storyboard.

HTH

Cheers


这篇关于代码背后的VB.net动画!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆