Click here to Skip to main content
15,899,314 members

Comments by Member 13485513 (Top 6 by date)

Member 13485513 27-Nov-17 12:12pm View    
i have tried the code. However, the code just making the rectangle to move in 300 and straight line only - <EasingDoubleKeyFrame KeyTime="0:0:1" Value="300"/>. This time i want it to be move according to coordinates that i defined in double[].DO you have any idea?
Member 13485513 25-Nov-17 5:14am View    
Yes i have already tried it. And implement it in my project and it worked! Never thought the in code part is that easy. I have try doing the in code like a week. Thanks,anyway:D
Member 13485513 25-Nov-17 2:52am View    
So is that mean i have to comment everything and make another function like i have done below?
Member 13485513 24-Nov-17 2:50am View    
i have done the changes as stated above. But another error come out: "System.InvalidOperationException: ''[Unknown]' property does not point to a DependencyObject in path '(0).(1)[3].(2)'.' " And it's pointing the sb.Begin();
Member 13485513 20-Nov-17 3:13am View    
Dear @Graeme_Grant , I have tried the example code from the StackOverflow page(Animating TranslateTransform from code) you gave to me. There are some line of codes that I don't understand.

s.Completed +=
(sndr, evtArgs) => {
panel.Children.Remove(e);
Resources.Remove(storyboardName);
UnregisterName(translationName);
};
s.Begin();


Or is it does not involve in my case?And i also would like to know about the hashcode function used in the same page.Thanks!:D