Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Help me Convert this WPF to Silverlight  (Read 3175 times)

0 Members and 1 Guest are viewing this topic.

Xarzu

    Topic Starter


    Greenhorn

    Help me Convert this WPF to Silverlight
    « on: December 29, 2011, 11:59:21 AM »
    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?