Most of the classes you??™ll use directly come
from this assembly.
??? PresentationCore.dll holds base types, such as UIElement and Visual, from which all
shapes and controls derive. If you don??™t need the full window and control abstraction
layer, you can drop down to this level and still take advantage of WPF??™s rendering
engine.
??? WindowsBase.dll holds even more basic ingredients that have the potential to be
reused outside of WPF, such as DispatcherObject and DependencyObject, which introduces
the plumbing for dependency properties (a topic you??™ll explore in detail in
Chapter 6).
??? milcore.dll is the core of the WPF rendering system and the foundation of the Media
Integration Layer (MIL). Its composition engine translates visual elements into the triangle
and textures that Direct3D expects. Although milcore.dll is considered a part of
WPF, it??™s also an essential system component for Windows Vista. In fact, the Desktop
Window Manager (DWM) in Windows Vista uses milcore.dll to render the desktop.
nNote milcore.dll is sometimes referred to as the engine for ???managed graphics.??? Much as the common
language runtime (CLR) manages the lifetime of a .NET application, milcore.dll manages the display state.
And just as the CLR saves you from worrying about releasing objects and reclaiming memory, milcore.
Pages:
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103