mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-05 08:46:34 +08:00
添加节点可删除
This commit is contained in:
@@ -22,6 +22,9 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
public DiagramControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
//把资源加入全局资源
|
||||
Application.Current.Resources.Add("DefaultConnectorStyle", this.FindResource("DefaultConnectorStyle"));
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty ZoomValueProperty = DependencyProperty.Register(nameof(ZoomValue), typeof(double), typeof(DiagramControl), new UIPropertyMetadata(1d));
|
||||
|
||||
Reference in New Issue
Block a user