No. 8948 implement the Windows 7 style aero Treeview Control (1): Differential Analysis

Source: Internet
Author: User

Recently, I started to seriously study the WPF/Silverlight technology at home. I saw the concept edition released by QQ in the previous section. It was amazing that Windows 7's Aero style was already very beautiful, however, the effects of the controls made by WPF are different from those made by the Windows 7 native. It is really good to have a project at hand. I want to write a few blog posts and hope some friends can discuss them and give me some advice.

The Treeview control needs to be used for project discovery. The default style is really too ugly, which is much different from the default windwos Resource Manager style. Some problems are also found during project creation.HereSeeWood-leafAerotreeview written by BoyouArticleAlthough there are some aero shadows on the steering arrow and selected results, the difference is still quite large. From this article, we will analyze the differences between wpftreeview and Windows 7 and their implementation methods in detail!

The figure above shows the features of Aero Treeview in Windows 7. There is no border on the right of the selected rectangle. I don't know why! May be implemented with Win32AlgorithmYes. Aero effects are selected in full rows. This should be an option in winform, but it is not available in WPF. below is the Implementation Effect of the WPF style Treeview, the effect of this selected area is the first challenge.


 

In fact, in my personal sense, the Implementation Effect on the right side of WPF is quite satisfactory, but since it is to fully achieve this effect, it should be completely based on the effect of Windows 7, there is also the question of arrows. Thanks to reading the blog of Mu-ye brother, we can see the gap between the existing WPF triangle and the system... Even a rough man! After talking about these things, start with the opening ceremony. The following describes how to implement the results!

 

Related Article

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.