Dela via


ModelProperty.Collection Property

When overridden in a derived class, gets the Value property cast as a ModelItemCollection.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property Collection As ModelItemCollection
'Usage
Dim instance As ModelProperty 
Dim value As ModelItemCollection 

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

Property Value

Type: Microsoft.Windows.Design.Model.ModelItemCollection
A ModelItemCollection that represents Value.

Remarks

This property allows you to access collection properties without having to invoke casts. If the property value is not a collection, this property returns nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ModelProperty Class

ModelProperty Members

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture