Polyline

Silverlight

Draws a series of connected straight lines.

<Polyline   .../>

This object is similar to the Polygon object, except that this object does not need to be a closed shape. You could achieve the same visual result by overlapping multiple Line objects.

A Polyline object that has only one point will not render.

The following example shows how to use a PolyLine object to create a closed triangle.

<Canvas 
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">  
     
  <Polyline Points="50,25 0,100 100,100 50,25"
    Stroke="Blue" StrokeThickness="10"
    Canvas.Left="75" Canvas.Top="50" />

</Canvas>

Reference

Community Additions

ADD
Show: