I'm currently using Ms Visual Studio 2012, windows store application to create a pacman game. I've been facing some errors shown below. Was hoping if anyone could help me out with solving it? Thanks..
Code:
Storyboard.SetTargetProperty(leftAnimation, new PropertyPath("(Canvas.Left)"));
Error showing:
The best overloaded method match for 'Windows.UI.Xaml.Media.Animation.Storyboard.SetTargetProperty(Windows.UI.Xaml.Media.Animation.Timeline, string)' has some invalid arguments
Metro (confusingly) has a different signature. Rather than a PropertyPath it takes a string :/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.