<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:Platform.Controls.BaseContainer">
    <Canvas Background="White" x:Key="Canvas">
        <local:Arrow 
            X1="{Binding Path=X1, RelativeSource={RelativeSource FindAncestor, AncestorType=local:Arrow, AncestorLevel=1}}"
            X2="{Binding Path=X2, RelativeSource={RelativeSource FindAncestor, AncestorType=local:Arrow, AncestorLevel=1}}"
            Y1="{Binding Path=Y1, RelativeSource={RelativeSource FindAncestor, AncestorType=local:Arrow, AncestorLevel=1}}"
            Y2="{Binding Path=Y2, RelativeSource={RelativeSource FindAncestor, AncestorType=local:Arrow, AncestorLevel=1}}"
            Width="{Binding Path=HeadWidth, RelativeSource={RelativeSource FindAncestor, AncestorType=local:Arrow, AncestorLevel=1}}"
            Height="{Binding Path=HeadHeight, RelativeSource={RelativeSource FindAncestor, AncestorType=local:Arrow, AncestorLevel=1}}"
            />
    </Canvas>
</ResourceDictionary>
