mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-18 07:26:36 +08:00
部分连接线完成,另外待连接点红色区域显示。
This commit is contained in:
@@ -145,6 +145,19 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
}
|
||||
|
||||
private bool _beAttachTo;
|
||||
public bool BeAttachTo
|
||||
{
|
||||
get
|
||||
{
|
||||
return _beAttachTo;
|
||||
}
|
||||
set
|
||||
{
|
||||
SetProperty(ref _beAttachTo, value);
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool CanAttachTo(ConnectorInfoBase port)
|
||||
=> port != this && !port.IsReadOnly;
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user