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()