Dela via


PropertyValue.Collection Property

When overridden in a derived class, gets a PropertyValueCollection of objects that represents the value of the PropertyValue.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design (in Microsoft.Windows.Design.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property Collection As PropertyValueCollection
'Usage
Dim instance As PropertyValue 
Dim value As PropertyValueCollection 

value = instance.Collection
public abstract PropertyValueCollection Collection { get; }
public:
virtual property PropertyValueCollection^ Collection {
    PropertyValueCollection^ get () abstract;
}
public abstract function get Collection () : PropertyValueCollection

Property Value

Type: Microsoft.Windows.Design.PropertyEditing.PropertyValueCollection
A collection of objects that represents the value of the PropertyValue.

Remarks

If an instance of PropertyValue represents a value that is a collection, it uses the Collection property to return a PropertyValueCollection. You can use the IsCollection property to determine whether a PropertyValue represents a value that is a collection. An example of a property whose value is a collection is the RowDefinitions property.

.NET Framework Security

See Also

Reference

PropertyValue Class

PropertyValue Members

Microsoft.Windows.Design.PropertyEditing Namespace

PropertyEntry

PropertyValueEditor

Other Resources

WPF Designer Extensibility

Property Editing Architecture