Polyline.Points property

Gets or sets a collection that contains the vertex points of the Polyline.

Syntax


public:
property PointCollection^ Points { 
   PointCollection^ get();
   void set (PointCollection^ value);
}


<Polyline Points="pointSet"/>

XAML Values

pointSet

One or more Point values with each x-y pair delimited by a single comma and/or one or more spaces. Either a space or a comma can be the delimiter and they can be used interchangeably. For example, "0,0 100,100", "0,0,100,100" and "0 0 100 100" are all valid and equivalent. The usual convention is to use a comma between the x and y of a point, and spaces between the x,y pairs.

Property value

Type: PointCollection

A collection of Point structures that describes the vertex points of the Polyline. The default is null.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Shapes
Windows::UI::Xaml::Shapes [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Shapes
Windows::UI::Xaml::Shapes [C++]

Metadata

Windows.winmd

See also

Polyline

 

 

Show:
© 2015 Microsoft