摘要:
通常TreeView中的TreeViewItem有两种生成方式: 1. 直接在xaml中使用TreeViewItem标签(使用C#代码可干同样的事情,总之是显式使用TreeViewItem) 2. 数据绑定,比如绑定到xml,或数组等。 第一种情况解决办法: 为TreeView添加ExpandAll()方法。 Code highlighting produced by Actipr... 阅读全文
posted @ 2008-07-23 16:46
sayo.net
阅读(7670)
评论(2)
推荐(0)