Reading directory
I. What is the purpose of WPF?
2: what can we do with this technology? What is the difference between it and other technologies?
I. What is the purpose of WPF?
.Let's first talk about the purpose of the emergence of WPF. The emergence of a technology does not come out of thin air, but must be purposeful. It must come into being to solve a problem.
.WPF: Let's literally understand its meaning from its full name. Windows Presentation (image) Foundation (basic ), you can literally see that it is actually creating a unified interface rendering platform, and its purpose is to replace Microsoft's existing UI platform. For example, the example above can best illustrate the problem and make it easier to understand. The Windows 7 operating system interface replaces the old Windows XP operating system interface, because Windows 7 is developed by WPF, now you know the purpose of its appearance.
2: what can we do with this technology? What is the difference between it and other technologies?
1: Build a "rich client expressiveness" Platform
That is, you can make a simple button to trigger an event very dazzling, such as 3D effect.
2: Introduce the XAML markup language to separate design and development
I am asking this question: "join me in the WPF World-why is the XAML markup language? (2) The explanation is clear.
3: unify the Interface Description of Web development and desktop development, and blur the boundaries between the two applications
I am asking this question: "join me in the WPF World-why is the XAML markup language? (2) The explanation is clear.
4: hardware acceleration
WPF rendering relies on DirectX. Therefore, WPF applications can achieve better image effects and performance.
5: resolution independent
I have worked on a Winform application before. On my personal computer, the interface is displayed normally. When installed on my colleague's computer, only 95% is displayed, and 5% is unavailable, so I raised my colleagues' resolution and the results showed that they were normal, but my colleague said that his eyes were not good and the resolution was too small. He could not see clearly, so I encountered such an embarrassment. Fortunately, WPF is displayed. The default unit is 1/96 inch, which ensures that the output size is consistent regardless of the display.