Modifier

Partager via


XamlType.IsCollection Property

Definition

Gets a value that indicates whether this XamlType represents a collection.

public:
 property bool IsCollection { bool get(); };
public bool IsCollection { get; }
member this.IsCollection : bool
Public ReadOnly Property IsCollection As Boolean

Property Value

true if this XamlType represents a collection; otherwise, false.

Remarks

If you do not use the default internal CLR reflection technique for a XamlType, calls to this property can invoke LookupCollectionKind overrides on XamlType derived classes. For more information about return values and other behavior, see the documentation for LookupCollectionKind on this type.

Applies to