Author: rolf
Date: 2007-06-12 13:32:24 -0400 (Tue, 12 Jun 2007)
New Revision: 79320
Modified:
trunk/olive/class/agclr/System.Windows.Shapes/ChangeLog
trunk/olive/class/agclr/System.Windows.Shapes/Path.cs
trunk/olive/class/agclr/System.Windows.Shapes/Polygon.cs
trunk/olive/class/agclr/System.Windows.Shapes/Polyline.cs
Log:
* Polyline.cs, Path.cs, Polygon.cs: Move from
DependencyProperty.Register to DependencyProperty.Lookup.
Modified: trunk/olive/class/agclr/System.Windows.Shapes/ChangeLog
===================================================================
--- trunk/olive/class/agclr/System.Windows.Shapes/ChangeLog 2007-06-12
17:32:03 UTC (rev 79319)
+++ trunk/olive/class/agclr/System.Windows.Shapes/ChangeLog 2007-06-12
17:32:24 UTC (rev 79320)
@@ -1,3 +1,8 @@
+2007-06-12 Rolf Bjarne Kvinge <[EMAIL PROTECTED]>
+
+ * Polyline.cs, Path.cs, Polygon.cs: Move from
+ DependencyProperty.Register to DependencyProperty.Lookup.
+
2007-06-10 Miguel de Icaza <[EMAIL PROTECTED]>
* Line.cs: Register properties properly
Modified: trunk/olive/class/agclr/System.Windows.Shapes/Path.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Shapes/Path.cs 2007-06-12
17:32:03 UTC (rev 79319)
+++ trunk/olive/class/agclr/System.Windows.Shapes/Path.cs 2007-06-12
17:32:24 UTC (rev 79320)
@@ -27,12 +27,13 @@
//
using System.Windows.Media;
+using Mono;
namespace System.Windows.Shapes {
public class Path : Shape {
- public static readonly DependencyProperty DataProperty =
DependencyProperty.Register ("Data", typeof (Geometry), typeof (Path));
+ public static readonly DependencyProperty DataProperty =
DependencyProperty.Lookup (Kind.GEOMETRY, "Data", typeof (Path));
public Path ()
{
Modified: trunk/olive/class/agclr/System.Windows.Shapes/Polygon.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Shapes/Polygon.cs 2007-06-12
17:32:03 UTC (rev 79319)
+++ trunk/olive/class/agclr/System.Windows.Shapes/Polygon.cs 2007-06-12
17:32:24 UTC (rev 79320)
@@ -33,8 +33,8 @@
public class Polygon : Shape {
- public static readonly DependencyProperty FillRuleProperty =
DependencyProperty.Register ("FillRule", typeof (FillRule), typeof (Polygon));
- public static readonly DependencyProperty PointsProperty =
DependencyProperty.Register ("Points", typeof (Point[]), typeof (Polygon));
+ public static readonly DependencyProperty FillRuleProperty =
DependencyProperty.Lookup (Kind.POLYGON, "FillRule", typeof (Polygon));
+ public static readonly DependencyProperty PointsProperty =
DependencyProperty.Lookup (Kind.POINT_ARRAY, "Points", typeof (Polygon));
public Polygon ()
{
Modified: trunk/olive/class/agclr/System.Windows.Shapes/Polyline.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Shapes/Polyline.cs 2007-06-12
17:32:03 UTC (rev 79319)
+++ trunk/olive/class/agclr/System.Windows.Shapes/Polyline.cs 2007-06-12
17:32:24 UTC (rev 79320)
@@ -27,13 +27,14 @@
//
using System.Windows.Media;
+using Mono;
namespace System.Windows.Shapes {
public class Polyline : Shape {
- public static readonly DependencyProperty FillRuleProperty =
DependencyProperty.Register ("FillRule", typeof (FillRule), typeof (Polyline));
- public static readonly DependencyProperty PointsProperty =
DependencyProperty.Register ("Points", typeof (Point[]), typeof (Polyline));
+ public static readonly DependencyProperty FillRuleProperty =
DependencyProperty.Lookup (Kind.POLYGON, "FillRule", typeof (Polyline));
+ public static readonly DependencyProperty PointsProperty =
DependencyProperty.Lookup (Kind.POINT_ARRAY, "Points", typeof (Polyline));
public Polyline ()
{
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches