SetterBaseCollection.IsSealed Property


Gets a value that indicates whether this object is in a read-only state.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.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 the state of the object, an exception is thrown.

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top