连接线修改,为支持改变连接点做准备

This commit is contained in:
akwkevin
2021-08-05 18:20:22 +08:00
parent b0c9855d05
commit e9c043ae3a
19 changed files with 405 additions and 50 deletions

View File

@@ -5,6 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using Util.DiagramDesigner;
namespace AIStudio.Wpf.BaseDiagram.Helpers
{
@@ -26,6 +27,11 @@ namespace AIStudio.Wpf.BaseDiagram.Helpers
private static void OnEnumChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
{
if (DesignerHelper.IsInDesignMode)
{
return;
}
var control = sender as ItemsControl;
if (control != null)