This commit is contained in:
kwai
2023-06-16 19:03:15 +08:00
parent 1dd09a2240
commit 56c3aac8e8
12 changed files with 167 additions and 102 deletions

View File

@@ -41,7 +41,7 @@ namespace AIStudio.Wpf.DiagramDesigner
get; set;
}
public ItemsContainerInfo ParentContain
public BlockItemsContainerInfo ParentContain
{
get; set;
}
@@ -145,12 +145,12 @@ namespace AIStudio.Wpf.DiagramDesigner
}));
}
public ObservableCollection<ItemsContainerInfo> Contains
public ObservableCollection<BlockItemsContainerInfo> Contains
{
get; set;
} = new ObservableCollection<ItemsContainerInfo>();
} = new ObservableCollection<BlockItemsContainerInfo>();
public ItemsContainerInfo FirstContain
public BlockItemsContainerInfo FirstContain
{
get
{
@@ -158,7 +158,7 @@ namespace AIStudio.Wpf.DiagramDesigner
}
}
public List<ItemsContainerInfo> GetAllContain()
public List<BlockItemsContainerInfo> GetAllContain()
{
return Contains.SelectMany(p => p.GetAllContain(p.Children, true)).ToList();
}