From 1309bb3e1b332dccef5b6e65c0faca3e45a88027 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Sat, 30 Jan 2016 13:15:49 +0100 Subject: [PATCH] Updated new control's properties. From PerspexProperty to StyledProperty. --- src/Perspex.Controls/Shapes/Line.cs | 4 ++-- src/Perspex.Controls/Shapes/Polygon.cs | 2 +- src/Perspex.Controls/Shapes/Polyline.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Perspex.Controls/Shapes/Line.cs b/src/Perspex.Controls/Shapes/Line.cs index 0d659b126f..2fadc57ac3 100644 --- a/src/Perspex.Controls/Shapes/Line.cs +++ b/src/Perspex.Controls/Shapes/Line.cs @@ -9,10 +9,10 @@ namespace Perspex.Controls.Shapes { public class Line : Shape { - public static readonly PerspexProperty StartPointProperty = + public static readonly StyledProperty StartPointProperty = PerspexProperty.Register("StartPoint"); - public static readonly PerspexProperty EndPointProperty = + public static readonly StyledProperty EndPointProperty = PerspexProperty.Register("EndPoint"); private LineGeometry _geometry; diff --git a/src/Perspex.Controls/Shapes/Polygon.cs b/src/Perspex.Controls/Shapes/Polygon.cs index 9536d710a5..08b5c60b5a 100644 --- a/src/Perspex.Controls/Shapes/Polygon.cs +++ b/src/Perspex.Controls/Shapes/Polygon.cs @@ -9,7 +9,7 @@ namespace Perspex.Controls.Shapes { public class Polygon : Shape { - public static readonly PerspexProperty> PointsProperty = + public static readonly StyledProperty> PointsProperty = PerspexProperty.Register>("Points"); public IList Points diff --git a/src/Perspex.Controls/Shapes/Polyline.cs b/src/Perspex.Controls/Shapes/Polyline.cs index 75b1353f6f..56d5683ab1 100644 --- a/src/Perspex.Controls/Shapes/Polyline.cs +++ b/src/Perspex.Controls/Shapes/Polyline.cs @@ -9,7 +9,7 @@ namespace Perspex.Controls.Shapes { public class Polyline: Shape { - public static readonly PerspexProperty> PointsProperty = + public static readonly StyledProperty> PointsProperty = PerspexProperty.Register>("Points"); static Polyline()