Answer Posted / guest
A Freezable is a special type of object that has two
states: unfrozen and frozen. When unfrozen, a Freezable
appears to behave like any other object. When frozen, a
Freezable can no longer be modified.
A Freezable provides a Changed event to notify observers of
any modifications to the object. Freezing a Freezable can
improve its performance, because it no longer needs to
spend resources on change notifications. A frozen Freezable
can also be shared across threads, while an unfrozen
Freezable cannot.
Although the Freezable class has many applications, most
Freezable objects in Windows Presentation Foundation (WPF)
are related to the graphics sub-system.
The Freezable class makes it easier to use certain graphics
system objects and can help improve application
performance. Examples of types that inherit from Freezable
include the Brush, Transform, and Geometry classes. Because
they contain unmanaged resources, the system must monitor
these objects for modifications, and then update their
corresponding unmanaged resources when there is a change to
the original object. Even if you don't actually modify a
graphics system object, the system must still spend some of
its resources monitoring the object, in case you do change
it.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to generate sequence diagrams in visual studio?
What is the relationship between xaml and jts/jta? : xaml
What is difference between microsoft edge and internet explorer?
What is microsoft visual studio used for?
What are the four microsoft programs?
What is Upload
What was the first microsoft product?
What is the relationship between xaml and other transaction protocols? : xaml
What languages can you code in visual studio?
What is the functionallity difference between radio/option buttons and a drop-down list box besides appearence? i.e. When it is better to use one instead of the other?
How do I permanently delete microsoft teams?
What is Computer Memory?
What is microsoft's web browser?
What is the cycle of Installing patches.....
How do I get rid of microsoft compatibility telemetry?