可以调用您自己的代码实现来构建元素可视化树的剩余部分。
You can call your own implementation of code that builds the remainder of an element visual tree.
通过模板成为可视化树一部分的元素也是在连接后才完全实例化的。
Elements that are part of the visual tree through the templates are also not fully instantiated until connected.
可以在已应用的模板中运行依赖于可视化树的代码,例如,获取指向来自模板的命名元素的引用。
You can run code that relies on the visual tree from templates having been applied, such as obtaining references to named elements that came from a template.
应用推荐