Architecture and Class Hierarchy of WPF: Part 1
In this article you will learn about WPF Architecture and class Hierarchy.
The Windows Presentation Foundation (WPF) is an display system for windows. It provides a consistent programming model for building applications. WPF is a set of libraries that have all functionalty you need to build, run, execute, and manage Windows applications. A modern Windows application built with C# indirectly relies on two parts of the Windows operating system to create its user interface User32 and GDI/GDI+.
Architecture of WPF
WPF uses a multilayered architecture. The red sections of the diagram (PresentationFramework, PresentationCore, and milcore) are the major code portions of WPF. Of these, only one is an unmanaged component - milcore.
PresentationFramework: These assembly including those who represent windows, panels, and other type of controls it also include higher-level programming
PresentationCore: IT holds base types like UIElement and Visual, from which all shapes and controls derive. you can also drop down to this level and still take advantage of WPF's rendering engine.
milcore: It 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 triangleand textures that Direct3D expects. Although milcore.dll is considered a part of WPF.
User32: It is used to determine what program gets what real estate. As a result, it's still involved in WPF, but it plays no part in rendering common controls.
DirectX: It is the low-level API through which all the graphics in a WPF are rendered.
Hope this article would have helped you in understanding WPF Architecture and Class Hierarchyconcept. Class Hierarchy continuous in next part of this article.