PolyBezierSegment::Points Property

Gets or sets the PointCollection that define this PolyBezierSegment object.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

property PointCollection^ Points {
	PointCollection^ get ();
	void set (PointCollection^ value);
    <PointCollection .../>
<object Points="PointCollection" .../>

Property Value

Type: System.Windows.Media::PointCollection
Collection that define this PolyBezierSegment object.

Identifier field


Metadata properties set to true


The following example shows how to use the Points property of a PolyBezierSegment that defines two cubic Bezier curves.

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      <Path Stroke="Black" StrokeThickness="1">

                <!-- The StartPoint specifies the starting point of the first curve. -->
                <PathFigure StartPoint="10,100">

                      <!-- The PolyBezierSegment specifies two cubic Bezier curves.
                           The first curve is from 10,100 (start point specified above)
                           to 300,100 with a control point of 0,0 and another control
                           point of 200,0. The second curve is from 300,100 
                           (end of the last curve) to 600,100 with a control point of 300,0
                           and another control point of 400,0. -->
                      <PolyBezierSegment Points="0,0 200,0 300,100 300,0 400,0 600,100" />
No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft