Bagikan melalui


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.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property Collection As PropertyValueCollection
    Get
public abstract PropertyValueCollection Collection { get; }
public:
virtual property PropertyValueCollection^ Collection {
    PropertyValueCollection^ get () abstract;
}
abstract Collection : PropertyValueCollection
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

Microsoft.Windows.Design.PropertyEditing Namespace

PropertyEntry

PropertyValueEditor

Other Resources

WPF Designer Extensibility

Property Editing Architecture