How to define the node move area?

Hi Walter
We have a bad understanding between moving a node and creating a link.

Our NodeTemplate looks like this:

<Grid x:Name=“Grid1”
<Grid go:Node.FromSpot=“Binding…”
go:Node.ToSpot=“Binding…”
go:Node.LinkableFrom=“Binding…”
go:Node.LinkableTo=“Binding…”>
<Grid.ColumnDefinitions>
<ColumnDefinition Width=“Auto”/>
<ColumnDefinition Width=""/>
<ColumnDefinition Width=“Auto”/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height=“Auto”/>
<RowDefinition Height="
" />
<RowDefinition Height=“Auto”/>
</Grid.RowDefinitions>
<Viewbox Grid.Column=“1” Grid.Row=“1”
Stretch “Binding… "
Style…}”
Cursor=“ScrollAll”>
<ContentControl />
<Content>
<go:NodeShape>…</go:NodeShape>
<Content/>
< ContentControl />
<ContentControl x:Name=“RightContent”
</Grid>
</Grid>

At the root level of our DataTemplate, we defined ResizeElementName = Grid1 and SelectionElementName = Grid1;
With this code we have the following node:

The viewBox is represented by the round blue area.
The Grid (Column: 1 Row: 1) is represented by the white area.
The RightContent is represented by the rectangle blue area
A click and drag, in the white area and in the rectangle bleu area begins the creation of a new link as you can see in the next image

A click and drag in the round blue area, allows us to move the node as you can see in the next image

How can we move the Node when we click on the white Area and on the round blue area, and create a link when we click on the rectangle blue area?

Set go.Node.PortId="" on the element that you want to act as a port (the only port for the node), and move all of the port-related attached properties down to that element.
Read more about this in the GoXamIntro.pdf document, in the sections about “Link Connection Points on Nodes” and “Ports on Nodes”.

Thank you, it works with the portid= “”
Happy holidays

Is it possible to have the same behavior with a different zone for the FromSpot and ToSpot? I’ll like to move the node when I click between the two rectangles.

Set Background=“Transparent” ?