PropertyValueCollection Class
Represents a collection of PropertyValue instances.
Inheritance Hierarchy
System.Object
Microsoft.Windows.Design.PropertyEditing.PropertyValueCollection
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustInherit Class PropertyValueCollection _
Implements IEnumerable(Of PropertyValue), IEnumerable, _
INotifyCollectionChanged
public abstract class PropertyValueCollection : IEnumerable<PropertyValue>,
IEnumerable, INotifyCollectionChanged
public ref class PropertyValueCollection abstract : IEnumerable<PropertyValue^>,
IEnumerable, INotifyCollectionChanged
[<AbstractClass>]
type PropertyValueCollection =
class
interface IEnumerable<PropertyValue>
interface IEnumerable
interface INotifyCollectionChanged
end
public abstract class PropertyValueCollection implements IEnumerable<PropertyValue>, IEnumerable, INotifyCollectionChanged
The PropertyValueCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PropertyValueCollection | Initializes a new instance of the PropertyValueCollection class. |
Top
Properties
Name | Description | |
---|---|---|
Count | When overridden in a derived class, gets the number of items in the collection. | |
Item | When overridden in a derived class, gets the PropertyValue at the specified index. | |
ParentValue | Gets the parent PropertyValue. |
Top
Methods
Name | Description | |
---|---|---|
Add | When overridden in a derived class, adds the specified object into the collection. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator | When overridden in a derived class, returns a strongly typed IEnumerator for the collection of PropertyValue objects. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Insert | When overridden in a derived class, inserts the specified object into the collection at the specified index. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnCollectionChanged | Raises the CollectionChanged event. | |
Remove | When overridden in a derived class, removes the specified PropertyValue from the collection. | |
RemoveAt | When overridden in a derived class, removes the PropertyValue from the collection at the specified index. | |
SetIndex | When overridden in a derived class, swaps the order of objects in the collection. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
CollectionChanged | Occurs when the PropertyValueCollection changes. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | Infrastructure. For a description of this member, see IEnumerable.GetEnumerator. |
Top
Remarks
The abstract PropertyValueCollection class is used for properties whose type is a collection.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Windows.Design.PropertyEditing Namespace