本文介绍了StoryBoard中的SetTargetProperty的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Storyboard.SetTargetProperty(da_x,(UIElement.RenderTransform).(TransformGroup.Children)[0].(TranslateTransform.X)");

显示编译时错误..

Storyboard.SetTargetProperty(da_x,"(UIElement.RenderTransform).(TransformGroup.Children)[0].(TranslateTransform.X)");

showing compile time error..

Error   1   The best overloaded method match for 'System.Windows.Media.Animation.Storyboard.SetTargetProperty(System.Windows.Media.Animation.Timeline, System.Windows.PropertyPath)' has some invalid arguments C:\Documents and Settings\home\my documents\visual studio 2010\Projects\newanimation\newanimation\MainPage.xaml.cs  59  17  newanimation

推荐答案


这篇关于StoryBoard中的SetTargetProperty的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 13:09