然而,如果该实例不包含一个命名空间,该方法则遍历可视树(visual tree),查找最近的命名范围,并解析名称。最近的命名范围可能是template的命名范围,style的命名范围和根节点的命名范围。
基于40个网页-相关网页
WPF中的可视化树(Visual Tree)也是针对Visual的。通常用到VisualCollection是改写Visual类的Add/RemoveVisualChild,GetVisualChild方法,或者VisualChildrenC...
基于24个网页-相关网页
The visual tree also participates in this process.
视觉化树状结构也会参与此程序。
This limit is inadequate for some layouts that have many levels in the visual tree.
对于在可视化树种有许多层的某些布局,此限制还不够。
Applications can call this method to guarantee that the visual tree of an element is complete.
应用程序可以呼叫这个方法以确保某个项目的视觉化树状结构已完成。
应用推荐