From 9da872cd934c6e34f879d72d3dbcccf7352c9971 Mon Sep 17 00:00:00 2001
From: SatishRaj4377 <158574671+SatishRaj4377@users.noreply.github.com>
Date: Fri, 13 Dec 2024 14:19:13 +0530
Subject: [PATCH 1/2] WPF-915840-Added CTRL Drag Duplicate Diisable Sample
---
.../CTRL+DragDuplicationDisable/App.config | 6 +
.../CTRL+DragDuplicationDisable/App.xaml | 9 +
.../CTRL+DragDuplicationDisable/App.xaml.cs | 17 ++
.../CtrlDragDisableDuplication_462.csproj | 104 +++++++++
.../CtrlDragDisableDuplication_462.sln | 22 ++
.../CtrlDragDisableDuplication_60.csproj | 69 ++++++
.../CtrlDragDisableDuplication_60.sln | 21 ++
.../CtrlDragDisableDuplication_80.csproj | 69 ++++++
.../CtrlDragDisableDuplication_80.sln | 21 ++
.../CtrlDragDisableDuplication_90.csproj | 69 ++++++
.../CtrlDragDisableDuplication_90.sln | 21 ++
.../MainWindow.xaml | 187 +++++++++++++++
.../MainWindow.xaml.cs | 216 ++++++++++++++++++
.../Properties/AssemblyInfo.cs | 55 +++++
.../Properties/Resources.Designer.cs | 63 +++++
.../Properties/Resources.resx | 117 ++++++++++
.../Properties/Settings.Designer.cs | 26 +++
.../Properties/Settings.settings | 7 +
18 files changed, 1099 insertions(+)
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/App.config
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/App.xaml
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/App.xaml.cs
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_462.csproj
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_462.sln
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_60.csproj
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_60.sln
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_80.csproj
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_80.sln
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_90.csproj
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_90.sln
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/MainWindow.xaml
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/MainWindow.xaml.cs
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/Properties/AssemblyInfo.cs
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/Properties/Resources.Designer.cs
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/Properties/Resources.resx
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/Properties/Settings.Designer.cs
create mode 100644 Samples/Commands/CTRL+DragDuplicationDisable/Properties/Settings.settings
diff --git a/Samples/Commands/CTRL+DragDuplicationDisable/App.config b/Samples/Commands/CTRL+DragDuplicationDisable/App.config
new file mode 100644
index 00000000..4bfa0056
--- /dev/null
+++ b/Samples/Commands/CTRL+DragDuplicationDisable/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Samples/Commands/CTRL+DragDuplicationDisable/App.xaml b/Samples/Commands/CTRL+DragDuplicationDisable/App.xaml
new file mode 100644
index 00000000..f57bf5c5
--- /dev/null
+++ b/Samples/Commands/CTRL+DragDuplicationDisable/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/Samples/Commands/CTRL+DragDuplicationDisable/App.xaml.cs b/Samples/Commands/CTRL+DragDuplicationDisable/App.xaml.cs
new file mode 100644
index 00000000..a473fd8c
--- /dev/null
+++ b/Samples/Commands/CTRL+DragDuplicationDisable/App.xaml.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace Simple_SfDiagram_WPF
+{
+ ///
+ /// Interaction logic for App.xaml
+ ///
+ public partial class App : Application
+ {
+ }
+}
diff --git a/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_462.csproj b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_462.csproj
new file mode 100644
index 00000000..3134e7c3
--- /dev/null
+++ b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_462.csproj
@@ -0,0 +1,104 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}
+ WinExe
+ Simple_SfDiagram_WPF
+ Simple SfDiagram WPF
+ v4.8
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+ true
+ true
+
+
+
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+ MainWindow.xaml
+ Code
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_462.sln b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_462.sln
new file mode 100644
index 00000000..335d1e7e
--- /dev/null
+++ b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_462.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.12.35506.116 d17.12
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CtrlDragDisableDuplication_462", "CtrlDragDisableDuplication_462.csproj", "{2D05EB05-E8C6-4327-9026-43BA588BAB16}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_60.csproj b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_60.csproj
new file mode 100644
index 00000000..0a9e1017
--- /dev/null
+++ b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_60.csproj
@@ -0,0 +1,69 @@
+
+
+ WinExe
+ net6.0-windows
+ true
+ true
+ False
+ false
+ false
+ Simple SfDiagram WPF
+ Simple_SfDiagram_WPF
+
+
+ TRACE;NET50
+
+
+ TRACE;NET50
+
+
+ TRACE;NET50
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MSBuild:Compile
+
+
+
\ No newline at end of file
diff --git a/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_60.sln b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_60.sln
new file mode 100644
index 00000000..42aef43d
--- /dev/null
+++ b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_60.sln
@@ -0,0 +1,21 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.0.31410.414
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CtrlDragDisableDuplication_60", "CtrlDragDisableDuplication_60.csproj", "{2D05EB05-E8C6-4327-9026-43BA588BAB16}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_80.csproj b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_80.csproj
new file mode 100644
index 00000000..fb23de6b
--- /dev/null
+++ b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_80.csproj
@@ -0,0 +1,69 @@
+
+
+ WinExe
+ net8.0-windows
+ true
+ true
+ False
+ false
+ false
+ Simple SfDiagram WPF
+ Simple_SfDiagram_WPF
+
+
+ TRACE;NET50
+
+
+ TRACE;NET50
+
+
+ TRACE;NET50
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MSBuild:Compile
+
+
+
\ No newline at end of file
diff --git a/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_80.sln b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_80.sln
new file mode 100644
index 00000000..6f15af5b
--- /dev/null
+++ b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_80.sln
@@ -0,0 +1,21 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.8.226.21692
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CtrlDragDisableDuplication_80", "CtrlDragDisableDuplication_80.csproj", "{2D05EB05-E8C6-4327-9026-43BA588BAB16}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_90.csproj b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_90.csproj
new file mode 100644
index 00000000..6b60327f
--- /dev/null
+++ b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_90.csproj
@@ -0,0 +1,69 @@
+
+
+ WinExe
+ net9.0-windows
+ true
+ true
+ False
+ false
+ false
+ Simple SfDiagram WPF
+ Simple_SfDiagram_WPF
+
+
+ TRACE;NET50
+
+
+ TRACE;NET50
+
+
+ TRACE;NET50
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MSBuild:Compile
+
+
+
\ No newline at end of file
diff --git a/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_90.sln b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_90.sln
new file mode 100644
index 00000000..8ded7e5e
--- /dev/null
+++ b/Samples/Commands/CTRL+DragDuplicationDisable/CtrlDragDisableDuplication_90.sln
@@ -0,0 +1,21 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.11.35017.193
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CtrlDragDisableDuplication_90", "CtrlDragDisableDuplication_90.csproj", "{2D05EB05-E8C6-4327-9026-43BA588BAB16}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2D05EB05-E8C6-4327-9026-43BA588BAB16}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/Samples/Commands/CTRL+DragDuplicationDisable/MainWindow.xaml b/Samples/Commands/CTRL+DragDuplicationDisable/MainWindow.xaml
new file mode 100644
index 00000000..bb4d9ac7
--- /dev/null
+++ b/Samples/Commands/CTRL+DragDuplicationDisable/MainWindow.xaml
@@ -0,0 +1,187 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Samples/Commands/CTRL+DragDuplicationDisable/MainWindow.xaml.cs b/Samples/Commands/CTRL+DragDuplicationDisable/MainWindow.xaml.cs
new file mode 100644
index 00000000..6c1345ee
--- /dev/null
+++ b/Samples/Commands/CTRL+DragDuplicationDisable/MainWindow.xaml.cs
@@ -0,0 +1,216 @@
+using Syncfusion.UI.Xaml.Diagram;
+using Syncfusion.UI.Xaml.Diagram.Controls;
+using Syncfusion.UI.Xaml.Diagram.Layout;
+using Syncfusion.UI.Xaml.Diagram.Serializer;
+using Syncfusion.UI.Xaml.Diagram.Stencil;
+using Syncfusion.UI.Xaml.Diagram.Theming;
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.ComponentModel;
+using System.Data;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Xml.Linq;
+
+namespace Simple_SfDiagram_WPF
+{
+ ///
+ /// Interaction logic for MainWindow.xaml
+ ///
+ public partial class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ InitializeComponent();
+ DiagramMenuItem menu = new DiagramMenuItem()
+ {
+ Content = "Duplicate",
+ Command = (Diagram.Info as IGraphInfo).Commands.Duplicate,
+
+ };
+ Diagram.Menu.MenuItems.Add(menu);
+
+
+ ObservableCollection nodes = new ObservableCollection();
+ NodeViewModel node1 = new NodeViewModel()
+ {
+ UnitWidth = 100,
+ UnitHeight = 100,
+ OffsetX = 1000,
+ OffsetY = 450,
+ Content = "Node1",
+ Shape = new RectangleGeometry() { Rect = new Rect(0, 0, 10, 10) },
+ ShapeStyle = this.Resources["ShapeStyle"] as Style
+ };
+ NodeViewModel node2 = new NodeViewModel()
+ {
+ UnitWidth = 100,
+ UnitHeight = 100,
+ OffsetX = 1050,
+ OffsetY = 560,
+ Content="Node2",
+ Shape = new RectangleGeometry() { Rect = new Rect(0, 0, 10, 10) },
+ ShapeStyle = this.Resources["ShapeStyle"] as Style
+ };
+
+ ObservableCollection group1 = new ObservableCollection();
+ ContainerViewModel container = new ContainerViewModel()
+ {
+ UnitHeight=400,
+ UnitWidth=400,
+ OffsetX=1000, OffsetY=500,
+ Nodes = new ObservableCollection()
+ {
+ node1,
+ node2
+ },
+ };
+
+ container.Header = new ContainerHeaderViewModel()
+ {
+ UnitHeight = 40,
+ Annotation = new AnnotationEditorViewModel()
+ {
+ Content = "Container",
+ FontSize = 18,
+ FontWeight = FontWeights.Bold,
+ Foreground = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#343434"))
+ },
+ };
+
+ group1.Add(container);
+
+ this.Diagram.Groups = group1;
+
+
+
+
+
+
+ ObservableCollection node = new ObservableCollection();
+ NodeViewModel node3 = new NodeViewModel()
+ {
+ UnitWidth = 100,
+ UnitHeight = 100,
+ OffsetX = 1250,
+ OffsetY = 100,
+ Content = "Node3",
+ Shape = new RectangleGeometry() { Rect = new Rect(0, 0, 10, 10) },
+ ShapeStyle = this.Resources["ShapeStyle"] as Style
+ };
+ NodeViewModel node4 = new NodeViewModel()
+ {
+ UnitWidth = 100,
+ UnitHeight = 100,
+ OffsetX = 1250,
+ OffsetY = 200,
+ Content = "Node1",
+ Shape = new RectangleGeometry() { Rect = new Rect(0, 0, 10, 10) },
+ ShapeStyle = this.Resources["ShapeStyle"] as Style
+ };
+ ConnectorViewModel connectorViewModel = new ConnectorViewModel()
+ {
+ SourcePoint = new Point(1350, 200),
+ TargetPoint = new Point(1400, 200),
+
+
+ };
+
+ GroupViewModel group = new GroupViewModel()
+ {
+ UnitHeight = 200,
+ UnitWidth = 200,
+ OffsetX = 1200,
+ OffsetY = 250,
+ Content = "Group",
+ Nodes = new ObservableCollection()
+ {
+ node3,
+ node4
+ },
+ Connectors = new ObservableCollection()
+ {
+ connectorViewModel
+ }
+ };
+
+ group1.Add(group);
+ Diagram.Groups = group1;
+
+
+
+ (Diagram.Info as IGraphInfo).NodeChangedEvent += MainWindow_NodeChangedEvent;
+ (Diagram.Info as IGraphInfo).ItemSelectedEvent += MainWindow_ItemSelectedEvent;
+ (Diagram.Info as IGraphInfo).ItemUnSelectedEvent += MainWindow_ItemUnSelectedEvent;
+ (Diagram.Info as IGraphInfo).ItemAdded += MainWindow_ItemAdded;
+ (Diagram.Info as IGraphInfo).ItemAdding += MainWindow_ItemAdding;
+ (Diagram.Info as IGraphInfo).ItemSelectingEvent += MainWindow_ItemSelectingEvent;
+ (Diagram.Info as IGraphInfo).ItemUnSelectingEvent += MainWindow_ItemUnSelectingEvent;
+
+ }
+
+
+ private void MainWindow_ItemUnSelectingEvent(object sender, DiagramPreviewEventArgs args)
+ {
+
+ }
+
+ private void MainWindow_ItemSelectingEvent(object sender, DiagramPreviewEventArgs args)
+ {
+
+ }
+
+ private void MainWindow_ItemAdding(object sender, Syncfusion.UI.Xaml.Diagram.ItemAddingEventArgs args)
+ {
+
+ }
+
+ private void MainWindow_ItemAdded(object sender, ItemAddedEventArgs args)
+ {
+
+ }
+
+ private void MainWindow_ItemUnSelectedEvent(object sender, DiagramEventArgs args)
+ {
+
+ }
+
+ private void MainWindow_ItemSelectedEvent(object sender, DiagramEventArgs args)
+ {
+
+ }
+
+ private void MainWindow_NodeChangedEvent(object sender, ChangeEventArgs