To get the current diagram items in the diagram you can use the Shapes
collection property of the diagram. The difference is that the Items collection contains the connection while the Shapes don't.
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin
, a suite of polished and feature-rich components for the Xamarin framework, which allow
you to write beautiful native mobile apps using a single shared C# codebase.