WPF TreeView选择一项时,其他同级项折叠
1。TreeView的静态扩展类(借鉴http://www.cnblogs.com/sayo/archive/2008/07/23/1249804.html)
public static class ExtensionMethods
{
public static void CollapseOtherItems(this System.Windows.Control
原创
2015-05-11 13:42:25 ·
1401 阅读 ·
0 评论