But, how can you get a reference to that parent TreeViewItem if its parent has not yet created it?
但是,你要怎样才能拿到它的父节点的引用当这个父节点还没有被创建呢?
This property easily solves the problem of ensuring that a data object's corresponding TreeViewItem is expanded when necessary.
这个属性解决了怎么保证在必要的时候,跟某个数据对象对应的TreeViewItem的展开问题。
应用推荐