I have one WPF5 control named C1PolygonIcon icon that has a property "Points" of the type Point[]
/// <summary>
/// Gets the points that describe the shape.
/// </summary>
[TypeConverter(typeof(PointArrayTypeConverter))]
public Point[] Points
{
get
{
return (Point[])GetValue(PointsProperty);
}
set
{
SetValue(PointsProperty, value);
}
}
In the DefaultInitializer of this class I'm setting this property
When dropping the control from the toolbox the layout of the designer gets broken, despite the generated code is correct, and after rebuilding the project the designer shows the control correctly.
I'm assuming there is a problem with the TypeConverter. because I've only had the problem with this property.
I have one WPF5 control named C1PolygonIcon icon that has a property "Points" of the type Point[]
In the DefaultInitializer of this class I'm setting this property
When dropping the control from the toolbox the layout of the designer gets broken, despite the generated code is correct, and after rebuilding the project the designer shows the control correctly.
I'm assuming there is a problem with the TypeConverter. because I've only had the problem with this property.