[英]Code behind version of WPF xaml animation code
I need code behind version of following xaml animation code. 我需要以下xaml动画代码的版本后面的代码。
https://docs.microsoft.com/fi-fi/dotnet/framework/wpf/graphics-multimedia/how-to-animate-a-string-by-using-key-frames https://docs.microsoft.com/fi-fi/dotnet/framework/wpf/graphics-multimedia/how-to-animate-a-string-by-using-key-frames
There is only one line code that I need your support. 只有一个行代码需要您的支持。
Dim myStringAnimationUsingKeyFrames As New Animation.StringAnimationUsingKeyFrames
Dim myDiscreteStringKeyFrame As New Animation.DiscreteStringKeyFrame
myDiscreteStringKeyFrame.KeyTime = "0:0:0"
Error screen shot: https://prnt.sc/kvgqfh 错误屏幕截图: https : //prnt.sc/kvgqfh
myDiscreteStringKeyFrame.KeyTime = TimeSpan.FromSeconds(0)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.