翼度科技»论坛 编程开发 .net 查看内容

循序渐进介绍基于CommunityToolkit.Mvvm 和HandyControl的WPF应用端开发(5)

8

主题

8

帖子

24

积分

新手上路

Rank: 1

积分
24
在我们展示一些参考信息的时候,有所会用树形列表来展示结构信息,如对于有父子关系的多层级部门机构,以及一些常用如字典大类节点,也都可以利用树形列表的方式进行展示,本篇随笔介绍基于WPF的方式,使用TreeView来洗实现结构信息的展示,以及对它的菜单进行的设置、过滤查询等功能的实现逻辑。
1、TreeView树形列表的展示

我们前面随笔介绍到的用户信息的展示,左侧就是一个树形的类表,通过展示多层级的部门机构信息,可以快速的查找对应部门的用户信息,如下界面所示。

我们来看看界面中树形列表部分的Xaml代码如下所示。
  1. <TreeView
  2. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">x:Name="deptTree"
  3. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">Margin="0,10,10,0"
  4. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">FontSize="16"<strong>
  5. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">ItemsSource</strong>="{Binding <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">ViewModel.FilteredTreeItems}"<strong>
  6. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">SelectedItemChanged</strong>="deptTree_SelectedItemChanged">
  7. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><TreeView.ItemContainerStyle>
  8. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">
  9. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"></TreeView.ItemContainerStyle>
  10. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><TreeView.ItemTemplate>
  11. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><HierarchicalDataTemplate <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">DataType="<strong>{x:Type <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">core:OuNodeInfo}</strong>" <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">ItemsSource="{Binding <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">Path=<strong>Children</strong>}">
  12. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><StackPanel <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">Orientation="Horizontal">
  13. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><Button
  14. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">hc:IconElement.Geometry="{StaticResource <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">PageModeGeometry}"
  15. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">Background="Transparent"
  16. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">BorderBrush="Transparent"
  17. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">BorderThickness="0"
  18. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">Style="{StaticResource <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{x:Static <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">ToolBar.ButtonStyleKey}}" <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">
  19. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><Label
  20. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">Padding="-10"
  21. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">Background="Transparent"
  22. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">BorderBrush="Transparent"
  23. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">BorderThickness="0"
  24. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">Content="{Binding <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">Path=Name}" <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/>
  25. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"></StackPanel>
  26. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"></HierarchicalDataTemplate>
  27. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"></TreeView.ItemTemplate>
  28. </TreeView>
复制代码
其中的ItemsSource是指定TreeView的数据源的,它是一个ItemsControl,因此它有数据源ItemsSource树形,如其他ListBox也是这样的控件基类。
  1. public <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">class <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">TreeView <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">: <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><strong>ItemsControl</strong>
复制代码
而 SelectedItemChanged 是我们在选择不同节点的时候触发的事件,用于我们对数据进行重新查询的处理,实现的代码如下所示。
  1. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><summary>
  2. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">树列表选中触发事件
  3. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"></summary>
  4. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">private <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">async <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">void <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">deptTree_SelectedItemChanged(object <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">sender, <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">RoutedPropertyChangedEventArgs<object> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">e)
  5. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{
  6. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">item <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">e.NewValue <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">as <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">OuNodeInfo;
  7. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">if <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">(item <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">!= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">null)
  8. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{
  9. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">this.<strong>ViewModel.SelectNode</strong> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">item;
  10. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">await <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">this.ViewModel.<strong>GetData</strong>();
  11. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">}
  12. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">}
复制代码
其中用户列表界面的ViewModel类里面 <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">,我们定义了一些属性,如下代码所示。
  1. /// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><summary>
  2. /// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">用户列表-视图模型对象
  3. /// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"></summary>
  4. public <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">partial <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">class <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">UserListViewModel <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">: <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">BaseListViewModel<UserInfo, <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">int, <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">UserPagedDto>
  5. {
  6. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><summary>
  7. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">查询过滤内容
  8. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"></summary>
  9. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">[ObservableProperty]
  10. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">private <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">string <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><strong>_searchKey</strong> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">"";
  11. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><summary>
  12. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">树形数据列表
  13. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"></summary>
  14. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">[ObservableProperty]
  15. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">private <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">List<OuNodeInfo>?<strong> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">treeItems</strong>;
  16. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><summary>
  17. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">树形数据列表(过滤列表)
  18. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"></summary>
  19. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">[ObservableProperty]
  20. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">private <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">List<OuNodeInfo>?<strong> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">filteredTreeItems</strong>;
  21. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><summary>
  22. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">选中的当前节点
  23. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"></summary>
  24. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">[ObservableProperty]
  25. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">private <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">OuNodeInfo <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><strong>selectNode</strong>;
复制代码
刚才我们通过设置选中的节点,然后触发查询GetData就是在UserListViewModel <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">视图模型类里面,重新构建条件进行处理的,最后还是调用基类BaseListViewModel里面的封装类的实现方法GetData。
  1. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><summary>
  2. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">设置父类后查询数据
  3. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"></summary>
  4. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><returns></returns>
  5. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">public <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">override <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">Task <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">GetData()
  6. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{
  7. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">//选中的大类Id
  8. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">if <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">(this.SelectNode <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">!= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">null)
  9. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{
  10. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">this.PageDto.Dept_ID <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">this.SelectNode.Id.ToString();
  11. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">}
  12. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">return <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">base.<strong>GetData</strong>();
  13. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">}
复制代码
而我们的属性列表的数据源,主要就是通过页面Page的构造函数的时候,触发的数据处理,就是GetTreeCommand的调用。
  1. /// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><summary>
  2. /// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">UserListPage.xaml <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">交互逻辑
  3. /// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"></summary>
  4. public <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">partial <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">class <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">UserListPage <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">: <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">INavigableView<UserListViewModel>
  5. {
  6. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><summary>
  7. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">视图模型对象
  8. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"></summary>
  9. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">public <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">UserListViewModel <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">ViewModel <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{ <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">get; <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">}
  10. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><summary>
  11. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">构造函数
  12. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"></summary>
  13. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><param <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">name="viewModel">视图模型对象</param>
  14. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">public <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">UserListPage(UserListViewModel <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">viewModel)
  15. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{
  16. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">ViewModel <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">viewModel;
  17. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">DataContext <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">this;
  18. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">InitializeComponent();
  19. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">//展示树列表
  20. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><strong>ViewModel.GetTreeCommand</strong>.ExecuteAsync(null);
  21. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">}
复制代码
其中GetTree的命令方法如下所示。
  1. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><summary>
  2. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">触发处理命令
  3. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"></summary>
  4. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">[RelayCommand]
  5. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">private <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">async <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">Task <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">GetTree()
  6. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{
  7. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">treeeNodeList <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">new <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">List<OuNodeInfo>();
  8. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">list <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">await <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"><strong>SecurityHelper.GetMyTopGroup</strong>(App.ViewModel!.UserInfo);
  9. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">foreach <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">(var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">groupInfo <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">in <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">list)
  10. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{
  11. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">if <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">(groupInfo <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">!= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">null <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">&& <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">!groupInfo.IsDeleted)
  12. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{
  13. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">node <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">new <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">OuNodeInfo(groupInfo);
  14. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">sublist <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">await <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">BLLFactory<IOuService>.Instance.<strong>GetTreeByID</strong>(groupInfo.Id);
  15. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">node.Children <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">sublist;
  16. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">treeeNodeList.Add(node);
  17. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">}
  18. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">}
  19. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">this.TreeItems <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">treeeNodeList;
  20. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">this.FilteredTreeItems <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">new <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">List<OuNodeInfo>(this.TreeItems);
  21. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">}
复制代码
我们通过构建一个用户的顶级部门列表(如管理员可以看全部,公司管理员只能看公司节点),然后给它们填充一个子级的部门列表即可。
另外,在Xaml的界面代码里面,我们可以看到下面的代码
  1. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">
复制代码
这个就是层级树形的内容设置,其中DataType指定对象的类型为OuNodeInfo类,而子节点的的数据源属性名称就是Children属性。
它的内容部分就是我们子节点的呈现界面代码模板了
  1. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">
复制代码
同理,对于字典模块的字典大类的展示,由于它们也是多层级的,因此也可以用TreeView进行展示,界面效果如下所示。

 
2、TreeView树形列表的右键菜单的处理

在上面的字典模块里面,我们左侧的字典大类,还需要一些右键菜单来实现字典大类的新增、编辑、清空数据项等维护功能的,因此给TreeView设置了右键菜单,如下所示效果。

 它的TreeView的Xaml代码如下所示。
  1. [/code]在视图模型里面,初始化的时候,把它进行加载即可。
  2. [code]/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">初始化处理字典大类/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">private <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">async <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">void <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">Init(){ <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">//获取字典大类列表 <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">dictItems <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">await <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">BLLFactory.Instance.GetAllType(null); <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">listItem <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">new <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">List(); <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">foreach <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">(var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">item <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">in <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">dictItems) <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{ <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">listItem.Add(new <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">CListItem(item.Key, <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">item.Value)); <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">} <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">listItem.Insert(0, <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">new <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">CListItem("顶级目录项", <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">"-1")); <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">this.ParentTypeList <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">listItem; <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">this._isInitialized <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">true;}
复制代码
 
3、TreeView树形列表的过滤处理

我们在构建树形列表的时候,绑定的是一个过滤的列表对象,需要根据实际情况进行改变即可。
  1. <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">触发处理命令 <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">[RelayCommand] <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">private <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">async <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">Task <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">GetTree() <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{ <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">treeeNodeList <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">new <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">List(); <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">list <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">await <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">SecurityHelper.GetMyTopGroup(App.ViewModel!.UserInfo); <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">foreach <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">(var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">groupInfo <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">in <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">list) <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{ <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">if <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">(groupInfo <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">!= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">null <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">&& <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">!groupInfo.IsDeleted) <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{ <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">node <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">new <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">OuNodeInfo(groupInfo); <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">sublist <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">await <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">BLLFactory.Instance.GetTreeByID(groupInfo.Id); <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">node.Children <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">sublist; <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">treeeNodeList.Add(node); <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">} <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">} <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">this.TreeItems <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">treeeNodeList; <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">this.FilteredTreeItems <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">new <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">List(this.TreeItems); <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">}
复制代码
界面的Xaml代码如下所示。
  1. [/code]如果在查询框里面输入内容,可以进行树列表的过滤,如下效果所示。
  2. [align=center][/align]
  3. 在输入内容的时候,我们触发一个事件SearchBar_OnSearchStarted <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">进行查询处理,根据查询的内容进行匹配处理。
  4. [code] <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">过滤查询事件 <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">private <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">void <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">[b]SearchBar_OnSearchStarted[/b](object <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">sender, <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">HandyControl.Data.FunctionEventArgs <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">e) <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{ <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">this.ViewModel.SearchKey <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">e.Info; <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">if <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">(e.Info.IsNullOrEmpty()) <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{ <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">this.ViewModel.FilteredTreeItems <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">this.ViewModel.TreeItems; <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">} <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">else <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{ <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">this.ViewModel.FilteredTreeItems <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">FindNodes(this.ViewModel.TreeItems!, <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">e.Info); <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">} <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">} <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">递归查询嵌套节点的内容,根据规则进行匹配 <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">数据类型 <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">节点集合 <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">节点名称 <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">/// <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">public <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">List <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">[b]FindNodes[/b](IEnumerable <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">nodes, <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">string <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">name) <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">where <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">T <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">: <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">OuNodeInfo <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{ <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">result <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">= <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">new <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">List(); <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">foreach <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">(var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">node <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">in <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">nodes) <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{ <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">if <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">(node.Name.Contains(name, <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">StringComparison.OrdinalIgnoreCase)) <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{ <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">result.Add(node); <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">} <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">foreach <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">(var <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">childCategory <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">in <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">FindNodes(node.Children, <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">name)) <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">{ <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">result.Add((T)childCategory); <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">} <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">} <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">return <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">result; <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}"> <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">}
复制代码
这样就可以实现数据的查询过滤,实际规则可以自己根据需要进行调整。
 

来源:https://www.cnblogs.com/wuhuacong/archive/2023/09/18/17711601.html
免责声明:由于采集信息均来自互联网,如果侵犯了您的权益,请联系我们【E-Mail:cb@itdo.tech】 <<strong>HierarchicalDataTemplate DataType</strong>="{x:Type core:<strong>OuNodeInfo</strong>}" ItemsSource="{Binding Path=<strong>Children</strong>}">我们会及时删除侵权内容,谢谢合作!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

举报 回复 使用道具