Help me Convert this WPF to Silverlight

I am interested in a Charles Petzold C# example that shows how to do a fisheye effect ( http://www.charlespetzold.com/blog/2009/05/Realizing-a-Fisheye-Effect-in-Silverlight.html ). The XAML code samples are in WPF but I want to try this in Silverlight.

When I try to create the XAML code in Silverlight, the compiler complains in two locations:

<Style TargetType="{x:Type Button}">
Error 1 The type 'x:Type' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.

<Style.Triggers>
Error 2 The attachable property 'Triggers' was not found in type 'Style'.

How do I convert this to Silverlight?

I have been looking at some sample code from Charles Petzold.
It uses a XAML tag called "DoubleAnimation". Basically, it works using this code:

<DoubleAnimation Storyboard.TargetProperty="FontSize"
                             To="36" Duration="0:0:1" />

in the downloaded sample on this page: http://www.charlespetzold.com/blog/2009/05/Realizing-a-Fisheye-Effect-in-Silverlight.html

But the accompanying web site mentions using a different way to do the animation with this tag:

<DoubleAnimation Storyboard.TargetProperty="LayoutTransform.ScaleX"
                             To="3" Duration="0:0:1" />

But when I substitude this code, the program crashes during the OnMouseEnter method and says thet it cannot resolve the targetProperty LayoutTransform.ScaleX

[IMG]http://i67.photobucket.com/albums/h292/Athono/uploadthis.png[/IMG]

This article has been dead for over six months. Start a new discussion instead.