mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-02 15:50:51 +08:00
block
This commit is contained in:
@@ -86,7 +86,14 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
dataObject.Icon = toolBoxData.Icon;
|
||||
dataObject.Text = toolBoxData.Text;
|
||||
dataObject.ColorViewModel = toolBoxData.ColorViewModel;
|
||||
dataObject.DesignerItem = toolBoxData.Addition;
|
||||
//if (toolBoxData.Addition is DesignerItemViewModelBase designerItemViewModelBase)
|
||||
//{
|
||||
// dataObject.DesignerItem = designerItemViewModelBase.ToSerializableItem();
|
||||
//}
|
||||
//else
|
||||
{
|
||||
dataObject.DesignerItem = toolBoxData.Addition;
|
||||
}
|
||||
|
||||
DragDrop.DoDragDrop((DependencyObject)sender, dataObject, DragDropEffects.Copy);
|
||||
e.Handled = true;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<Project>
|
||||
<!-- Project properties -->
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net6.0-windows</TargetFrameworks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net461;net5.0-windows;net6.0-windows</TargetFrameworks>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<NoWarn>1701;1702;CS1591;SA1652;WPF0041</NoWarn>
|
||||
|
||||
Reference in New Issue
Block a user