Author: KiwiFreaK | Posted on: 6/10/2008 7:02:42 AM | Views : 825

Hi All,
I'm trying to set the Data property of the System.Windows.Shapes.Path class. In Silverlight 2 beta 1 it was possible to set this property with a String like:
    myPath.SetValue(System.Windows.Shapes.Path.DataProperty, "---------- data ----------");

But in Silverlight 2 beta 2 the Data property is changed to a Geometry type. When I try the same in beta 2, the following error occurs (of course):

    "DependencyProperty of type System.Windows.Media.Geometry cannot be set on an object of type System.String"

Thats ...

Go to the complete details ...