PresentationFrameworkCollection<T>.IsFixedSize Property

July 28, 2014

Gets a value indicating whether the PresentationFrameworkCollection<T> has a fixed size.

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

public bool IsFixedSize { get; }

Property Value

Type: System.Boolean
true if the PresentationFrameworkCollection<T> has a fixed size; otherwise, false.

Implements

IList.IsFixedSize

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

Note that such a fixed-size collection is inherently incompatible with XAML.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft