mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-19 07:56:37 +08:00
添加block快,不需要连接线,直接吸附。
This commit is contained in:
@@ -37,6 +37,11 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
return (Style)itemsControl.FindResource("logicalItemStyle");
|
||||
}
|
||||
|
||||
if (item is BlockDesignerItemViewModel)
|
||||
{
|
||||
return (Style)itemsControl.FindResource("blockItemStyle");
|
||||
}
|
||||
|
||||
if (item is DesignerItemViewModelBase)
|
||||
{
|
||||
return (Style)itemsControl.FindResource("designerItemStyle");
|
||||
|
||||
Reference in New Issue
Block a user