SelectionAdornmentTemplate

Hi,

When I select a link I don’t get the SelectionAdornmentTemplate displayed. Can you tell me whaty I am doing wrong? See xaml below.

Thanks
Rich

   <!-- selected link adornment -->
    <DataTemplate x:<font color="#ff0000">Key="LinkSelectionTemplate"</font>>
        <Path go:LinkPanel.IsLinkShape="True" x:Name="Shape" 
                 Stroke="Green" StrokeThickness="1.5" StrokeDashArray="2 1" go:Part.Selectable="False"/>
    </DataTemplate>

    <DataTemplate x:Key="LinkTemplate">
        <go:LinkPanel go:Part.SelectionElementName="Shape" go:Part.SelectionAdorned="False"   

go:Part.SelectionAdornmentTemplate="{StaticResource LinkSelectionTemplate}"
go:Part.Reshapable=“True” go:Part.Deletable=“False”>
go:Link.Route
<go:Route Routing=“AvoidsNodes” Curve=“JumpOver” Curviness=“1.0” />
</go:Link.Route>





</go:LinkPanel>

Please ignore.

I set selectable to false…sorry

You mean you set go:Part.SelectionAdorned=“False”. So that no selection adornment is shown when the link is selected.

Setting go:Part.Selectable=“False” in your LinkSelectionTemplate has no effect. No Adornments are selectable. In fact, practically all of those “…able” properties have no effect for Adornments.