mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-21 17:06:35 +08:00
支持多个node保存到工具栏,显示还有点问题。
This commit is contained in:
@@ -79,7 +79,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
dataObject.DesiredSize = toolBoxData.DesiredSize;
|
||||
dataObject.Icon = toolBoxData.Icon;
|
||||
dataObject.ColorViewModel = toolBoxData.ColorViewModel;
|
||||
dataObject.DesignerItem = toolBoxData.Addition as DesignerItemBase;
|
||||
dataObject.DesignerItem = toolBoxData.Addition;
|
||||
|
||||
DragDrop.DoDragDrop((DependencyObject)sender, dataObject, DragDropEffects.Copy);
|
||||
e.Handled = true;
|
||||
|
||||
Reference in New Issue
Block a user