"WPF Series" Basic Learning-WPF Architecture

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.