Introduction
Since joining the. NET framewok3.0, WPF has gone through a lot with the new. Each update brings new functionality or optimizes performance to the user. Let's look at the location of WPF again in NETFramework, and then introduce the architecture framework for WPF. Hopefully you will be able to understand the location of WPF in the. NET Framework so that we can learn about WPF in a qualitative sense.
Overview of the. NET Framework feature changes
Photo source Http://en.wikipedia.org/wiki/.NET_Framework_version_history
Location of WPF in the. netframework4.5 schema
Image source: http://www.dotnet-tricks.com/Tutorial/netframework/NcaT161013-Understanding-.Net-Framework-4.5-Architecture.html
WPF structure
A WPF main component architecture diagram for Microsoft Official.
The red parts of the figure (PresentationFramework, PresentationCore, and Milcore) are the main parts of the WPF code, and only part of it is unmanaged code-milcore, Milcore is written in unmanaged code to be tightly integrated with DirectX. All of the display in WPF is through the DirectX engine, which allows efficient use of hardware and software for rendering. WPF requires a good program of memory and execution. Milcore is extremely sensitive to WPF performance, so it abandons many of the benefits provided by the CLR and uses unmanaged mode in exchange for better performance
This diagram provides a more detailed description of the framework structure of WPF. The official interpretation of the WPF architecture is straightforward.
"WPF Series" Basic Learning-WPF Architecture