You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: