| Visual Basic (Declaration) | |
|---|---|
Public Property Points As PointCollection | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public PointCollection Points {get; set;} | |
| C++/CLI | |
|---|---|
public: property PointCollection Points { PointCollection get(); void set (PointCollection value); } | |
| XAML Attributes Usage | |
|---|---|
<object Points=System.Windows.Media.PointCollection .../> | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
| XAML Property Element Usage | |
|---|---|
<object> <object.Points> <PointCollection .../> </object.Points> </object> | |
| XAML Attributes Usage | |
|---|---|
<object Points=System.Windows.Media.PointCollection .../> | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
| XAML Property Element Usage | |
|---|---|
<object> <object.Points> <PointCollection .../> </object.Points> </object> | |
Return Value
The PointCollection assigned to this AnnPolylineObject.For XAML example, refer to AnnPolygonObject.
(Read only) The Points property is a zero-based indexed collection used to hold all the
Point structures assigned to this AnnPolylineObject.
Since the property is read-only, it can not be assigned a collection of points directly.
Points can be added or removed by using the methods inherited from the PointCollection class.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family
Copy Code