IsSealed Property
Collapse the table of content
Expand the table of content

SetterBaseCollection.IsSealed Property

Gets a value that indicates whether the collection is in a read-only state.

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

public bool IsSealed { get; }

Property Value

Type: System.Boolean
true if this object is in a read-only state and cannot be changed; otherwise, false.

If this property returns true and you try to modify a Setter in the collection or add a Setter, an exception is thrown.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft