Bagikan melalui


PropertyValue.IsCollection Property

When overridden in a derived class, gets a value indicating whether this PropertyValue is a collection.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property IsCollection As Boolean
    Get
public abstract bool IsCollection { get; }
public:
virtual property bool IsCollection {
    bool get () abstract;
}
abstract IsCollection : bool
abstract function get IsCollection () : boolean

Property Value

Type: System.Boolean
true if PropertyValue is a collection; otherwise, false.

Remarks

If an instance of PropertyValue represents a value that is a collection, it uses the Collection property to return a PropertyValueCollection. 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