[ 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 style is read-only and cannot be changed.
Assembly: System.Windows (in System.Windows.dll)
You can change the values of individual properties that have been set within a style. For example, you can set the Template property at run time even if this property has been set by a style. Or you can add setters to the collection in Setters. However, as soon as that style is placed in use by a loaded object, the Style should be considered sealed. You can detect this state by checking the value of for the Style. A style is considered to be in use as soon as it is referenced by a loaded object that is connected to the object tree and the root visual. This point in time can be detected when the object where the Style property is set raises its Loaded event.