Draws a series of connected straight lines.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
This object is similar to the Polygon object, except that this object does not need to be a closed shape.
The following example shows how to create a element and set its properties by using code. For the complete sample, see WPF Shapes Gallery Sample.
|How to: Draw a Polyline by Using the Polyline Element||This example shows how to draw a polyline, which is a series of connected lines, by using the element.|
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.