What’s the Foundation of WPF ? (Windows Presentation Foundation) – WPF Tutorial #1
Below is the framework diagram of WPF from the MSDN help.
The block shown in the red are the foundation of WPF. There are three dlls which makes the Windows Presentation Foundation, that is WindowsBase (WindowsBase.dll), PresentationCore (PresentationCore.dll), and PresentationFoundation(PresentationFoundation.dll).
Lets first discuss the above block.
From the bottom, first WPF component is milcore. MIL stands for Media Integration Layer. MIL is interface between DirectX and CLR (plus above layer). MILCORE is unmanaged component which handles the 2D, 3D , Animation and other (which i forgot ) with the help of DirectX. Performance & Hardware acceleration (benefits of DX) is the key reason for why MILCORE is the unmanaged. WPF aka Avalon uses MILCORE for rendering purpose. MILCORE is also known as composition engine.
WindowsBase defines most of the Base type which gonna use in WPF. And for WPF Application, WindowsBase is the must assembly to include.
Second component is PresentationCore (PresentationCore.dll). This DLL doesn’t hold any UI component but it contains the base types which can be used in implementing the UI component (Except Window class ).
Third and last one is PresentationFoundation which contains all the WPF controls + other useful WPF functionality.