Classe PointCollection (System.Windows.Media)

Cambia visualizzazione:
ScriptFree
Classe PointCollection
Represents a collection of Point values that can be individually accessed by index.

Spazio dei nomi: System.Windows.Media
Assembly: PresentationCore (in presentationcore.dll)
Spazio dei nomi XML:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

Sintassi

Visual Basic - (Dichiarazione)
<TypeConverterAttribute(GetType(PointCollectionConverter))> _
Public NotInheritable Class PointCollection
	Inherits Freezable
	Implements IFormattable, IList, ICollection, IList(Of Point), _
	ICollection(Of Point), IEnumerable(Of Point), _
	IEnumerable
Visual Basic (Utilizzo)
Dim instance As PointCollection

C#
[TypeConverterAttribute(typeof(PointCollectionConverter))] 
public sealed class PointCollection : Freezable, IFormattable, IList, ICollection, 
	IList<Point>, ICollection<Point>, IEnumerable<Point>, 
	IEnumerable
C++
[TypeConverterAttribute(typeof(PointCollectionConverter))] 
public ref class PointCollection sealed : public Freezable, IFormattable, IList, ICollection, 
	IList<Point>, ICollection<Point>, IEnumerable<Point>, 
	IEnumerable
J#
/** @attribute TypeConverterAttribute(System.Windows.Media.PointCollectionConverter) */ 
public final class PointCollection extends Freezable implements IFormattable, IList, 
	ICollection, IList<Point>, ICollection<Point>, 
	IEnumerable<Point>, IEnumerable
JScript
TypeConverterAttribute(System.Windows.Media.PointCollectionConverter) 
public final class PointCollection extends Freezable implements IFormattable, IList, 
	ICollection, IList<Point>, ICollection<Point>, 
	IEnumerable<Point>, IEnumerable
Utilizzo della sintassi XAML per elementi oggetto
<PointCollection .../>
Utilizzo della sintassi XAML per raccolte implicite
<object>
  <object.property>
    oneOrMorePointObjectElements
  </object.property>
</object>
Utilizzo della sintassi XAML per attributi
<object property="oneOrMorePoints"/>
Valor XAML
 oneOrMorePoints  One or more Point values, with each pair delimited by a single comma and/or one or more spaces.  Point [delimeter Point ]*  For example, "0,0 100,100 200,100" and "0,0,100,100,200,100" are both valid.   oneOrMorePointObjectElements  One or more Point values, declared using object element syntax. 
Note

Except as noted, members of this class behave exactly as described by the IList, ICollection, and IEnumerable documentation.

Freezable Features: Because it inherits from the Freezable class, the PointCollection class provides several special features: PointCollection objects can be declared as resources, shared among multiple objects, made read-only to improve performance, cloned, and made thread-safe. For more information about the different features provided by Freezable objects, see the Freezable Objects Overview.

Gerarchia di ereditarietà

System.Object
   System.Windows.Threading.DispatcherObject
     System.Windows.DependencyObject
       System.Windows.Freezable
        System.Windows.Media.PointCollection
Codice thread safe

I membri statici pubblici (Shared in Visual Basic) di questo tipo sono validi per le operazioni multithreading. I membri di istanza non sono garantiti come thread safe.
Piattaforme

Microsoft .NET Framework 3.0 è supportato in Windows Vista, Microsoft Windows XP SP2 e Windows Server 2003 SP1.

Informazioni sulla versione

.NET Framework

Supportato in:
Vedere anche