<UserControl x:Class="ExportToPDF_SL.MainPage"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:primitives="clr-namespace:Telerik.Windows.Controls.Diagrams.Primitives;assembly=Telerik.Windows.Controls.Diagrams"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             d:DesignHeight="300"
             d:DesignWidth="400"
             mc:Ignorable="d">
	<Grid x:Name="LayoutRoot">
		
		<telerik:RadDiagram x:Name="diagram" Drag="diagram_Drag">
            <telerik:RadDiagramShape Content="Shape 1" x:Name="shape1" Position="100, 50" />
            <telerik:RadDiagramShape Content="Shape 2" x:Name="shape2" Position="100, 200" />



            <telerik:RadDiagramConnection Background="Red"
                                          ConnectionType="Polyline"
			                              Source="{Binding ElementName=shape1}"
			                              Target="{Binding ElementName=shape2}"
			                              TargetCapType="Arrow2"
                                          x:Name="connection"/>
			
		</telerik:RadDiagram>


        <StackPanel HorizontalAlignment="Left" VerticalAlignment="Top">
            <telerik:RadButton Width="120"
			                   Height="30"
			                   Command="telerik:DiagramCommands.Save"
			                   Content="Save" />
            <telerik:RadButton Width="120"
			                   Height="30"
			                   Command="telerik:DiagramCommands.Open"
			                   Content="Open" />

        </StackPanel>
    </Grid>
</UserControl>
