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 |
What is refactoring?
Is windows a microsoft product?
How do you interact with git in visual studio?
Do I need microsoft visual c++ 2005 redistributable?
what is DHCP & DNS port number?
17 Answers CMS, TCS,
What is Hardware Drivers?
What is Dynamic Routing ?
What is the use of the code definition window in visual studio?
Where is microsoft notepad located?
how to create assembly?
what is 'macro' in excel? how to make use of it ?
How do I permanently delete microsoft teams?