IList.IsFixedSize Property

DependencyObjectCollection<T>.IList.IsFixedSize Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a value that indicates whether the collection allows the addition or removal of objects after creation.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

bool IList.IsFixedSize { get; }

Property Value

Type: System.Boolean
true if the collection has a fixed size; otherwise, false.

Implements

IList.IsFixedSize

A collection with a fixed size does not allow the addition or removal of items after the collection is created, but it allows the modification of existing items.

This member is an explicit interface member implementation. It can be used only when the DependencyObjectCollection<T> instance is cast to an IList interface.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2018 Microsoft