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!