Issue with Link having arrow in both side

Hi,

I want to create a link with FromArrow & ToArrow, means arrow on both sides.
But FromArrow is displayed with wrong direction (look at horizontal line in red). How can I solve this?

I have implemented template for that:

<

DataTemplate x:Key=“LinkTemplate”>


<go:LinkPanel go:Part.SelectionAdorned=“True” go:Part.SelectionElementName=“Path” Cursor=“Hand”>


<go:LinkShape x:Name=“Path” Stroke="{Binding Path=Data.Color}"

StrokeThickness="{Binding Path=Data.Thickness}"/>

<Path Fill="{Binding Path=Data.Color}" go:LinkPanel.FromArrow

"Standard"

/>

<Path Fill="{Binding Path=Data.Color}" go:LinkPanel.ToArrow

"Standard"

/>

<TextBlock Text="{Binding Path=Data.Text}" go:LinkPanel.Offset="{Binding Path=Data.TextOffset}"

go:LinkPanel.Orientation="Along"/>

</go:LinkPanel>

</DataTemplate>

Does changing the Orientation=“Opposite” help?

Hi,

It worked, but still there is an issue with from arrow’s start position. How can it be modified, so that it should start from the beginning of the line with opposite orientation, which is vertical red line in this case?

Have a look:

Try setting go:LinkPanel.Alignment=“MiddleLeft”

Hi,

Thanks for your hint, but it worked as:

go:LinkPanel.Alignment=“MiddleRight”