[Beta 8.3] PolyLineSegment doesn't initializes itself
Posted: Fri Jul 01, 2016 10:04 am
Hi,
just coding for the first time with C#/XAML for HTML5.
I'm in trouble with the creation of a polyline. I've found the way using PolyLineSegment and adding to a Path.
When in runtime, I'm getting a "Null reference" error even if my PolyLineSegment must be not null, as instantiated with "new".
Pls see the screenshot of the debugger:
Same behaviour with PathFigure, PolyBezierSegment, and perhaps any object that have a collection of graphic elements as a property.
Any idea? Can I draw a polyline in some other way in meantime?
Thanks in advance.
Flavio
just coding for the first time with C#/XAML for HTML5.
I'm in trouble with the creation of a polyline. I've found the way using PolyLineSegment and adding to a Path.
When in runtime, I'm getting a "Null reference" error even if my PolyLineSegment must be not null, as instantiated with "new".
Pls see the screenshot of the debugger:
Same behaviour with PathFigure, PolyBezierSegment, and perhaps any object that have a collection of graphic elements as a property.
Any idea? Can I draw a polyline in some other way in meantime?
Thanks in advance.
Flavio