TranslateTransform.BeginAnimation in Silverlight?

I have a working WPF application that I would like to stream to SilverLight. I have a piece of WPF code where I couldn't find a way to simulate SilverLight.

Snippet of WPF code:

TranslateTransform trans = null;

trans = child.RenderTransform as TranslateTransform;

trans.BeginAnimation (TranslateTransform.XProperty, new DoubleAnimation (curX, animationLength), HandoffBehavior.Compose);

The problem is the call to BeginAnimation. it doesn't seem to exist on the TranslateTransform object. Any ideas how I can accomplish the same thing?

0


a source to share


1 answer


BeginAnimation does not exist in Silverlight. You can use storyboard instead



+2


a source







All Articles