DOTNET -> WPF
what is Freezable?



DOTNET -> WPF what is Freezable?..

Answer / 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

More Microsoft Related AllOther Interview Questions

What is refactoring?

0 Answers  


Is windows a microsoft product?

0 Answers  


How do you interact with git in visual studio?

0 Answers  


Do I need microsoft visual c++ 2005 redistributable?

0 Answers  


what is DHCP & DNS port number?

17 Answers   CMS, TCS,






What is Hardware Drivers?

0 Answers   HCL,


What is Dynamic Routing ?

1 Answers  


What is the use of the code definition window in visual studio?

0 Answers  


Where is microsoft notepad located?

0 Answers  


how to create assembly?

1 Answers   Nth Solution,


what is 'macro' in excel? how to make use of it ?

0 Answers   ICICI,


How do I permanently delete microsoft teams?

0 Answers  


Categories