What is the "Freezable" subheading in WPF / Silverlight?

What is the "Freezable" subheading in WPF / Silvellight?

+4
source share
3 answers

A frozen object is one that has a mechanism that allows you to β€œfreeze” it. This blocks the entire state and makes the object immutable. This makes the object more efficient to use and more secure for sharing threads.

http://msdn.microsoft.com/en-us/library/ms750509.aspx

+5
source

Important thing. Silverlight does not contain Freezable or FreezableCollection in this infrastructure.

http://msdn.microsoft.com/en-us/library/cc903925(VS.95).aspx

http://www.charlespetzold.com/blog/2008/11/Text-on-a-Path-in-Silverlight.html

+7
source

Ripped straight from MSDN Frozen Objects Overview :

The Freezable class simplifies the use of certain graphics objects and can help improve application performance. Examples of types that inherit from Freezable include the Brush, Transform, and Geometry classes. Since they contain unmanaged resources, the system must monitor these objects for modifications, and then update the corresponding unmanaged resources when the original object changes. Even if you do not actually modify the object of the graphic system, the system should still spend part of its resources on monitoring the object, if you change it.

+1
source

All Articles