ContentPresent Content Binding is not working Und

we want to Implement the different shape for Node, we will create the
Uielements property for node ,

so that we Used Contentpresender Under NodePanel , during binding it
was not shown in screen , while drag it was shown ,

How can we Implement the Content binding Under Node Panel

       <go:SpotPanel Style="{StaticResource SpotPanelStyle}" 

go:Node.LocationElementName=“Shape” go:Node.Resizable=“True”
go:Node.SelectionAdorned=“True” go:Part.Visible=“True”

                 go:Node.Location="{Binding Path=Data.Location, 

Mode=TwoWay}"

                >


           <go:NodePanel   go:Node.Resizable="True"  

Height="{Binding Path=Data.height, Mode=TwoWay}" Width="{Binding
Path=Data.width, Mode=TwoWay}" >

               <ContentPresenter x:Name="Shape" 

Visibility=“Visible” Content="{Binding
Path=Data.ContentShape,Mode=OneWay}" Width="{Binding Path=Data.width,
Mode=TwoWay}" Height="{Binding Path=Data.height,
Mode=TwoWay}">

               <TextBlock Style="{StaticResource TextBlockStyle}"

                  Text="{Binding Path=Data.Text, Mode=TwoWay}" />

           </go:NodePanel>

        
           <Ellipse Style="{StaticResource EllipseStyle}"

              Stroke="{Binding Path=Node.Tag,

                       Converter={StaticResource 

theBooleanBrushConverter}}"

              go:Node.PortId="0"

              go:Node.LinkableTo="False"

              go:Node.FromSpot="MiddleBottom"

              go:SpotPanel.Spot="MiddleBottom"

              go:SpotPanel.Alignment="MiddleBottom" />

           <Ellipse Style="{StaticResource EllipseStyle}"

              Stroke="{Binding Path=Node.Tag,

                       Converter={StaticResource 

theBooleanBrushConverter}}"

              go:Node.PortId="1"

              go:Node.LinkableFrom="False"

              go:Node.ToSpot="MiddleTop"

              go:SpotPanel.Spot="MiddleTop"

              go:SpotPanel.Alignment="MiddleTop" />

           <Ellipse Style="{StaticResource EllipseStyle}"

              Stroke="{Binding Path=Node.Tag,

                       Converter={StaticResource 

theBooleanBrushConverter}}"

              go:Node.PortId="2"

              go:Node.FromSpot="MiddleLeft"

              go:Node.ToSpot="MiddleLeft"

              go:SpotPanel.Spot="MiddleLeft"

              go:SpotPanel.Alignment="MiddleLeft" />

           <Ellipse Style="{StaticResource EllipseStyle}"

              Stroke="{Binding Path=Node.Tag,

                       Converter={StaticResource 

theBooleanBrushConverter}}"

              go:Node.PortId="3"

              go:Node.FromSpot="MiddleRight"

              go:Node.ToSpot="MiddleRight"

              go:SpotPanel.Spot="MiddleRight"

              go:SpotPanel.Alignment="MiddleRight" />

       </go:SpotPanel>

   </DataTemplate>

please give me the solution as soon as Possible

It's a bit unusual to have your model data include UIElements in them, if that is what you are doing. It does mean that you will not be able to use an Overview for that Diagram, for example. Persisting the model will be very difficult too. But I suppose it could work for restricted usages.

It's also unusual to data-bind the Width and Height of both a child element and its containing Panel to the same values. I can imagine that causing problems, although I am just speculating that that might be related to your problem. I would try removing the bindings on the NodePanel.

I suggest you make sure that that kind of XAML will work by testing it in an ItemTemplate of a ListBox, not involving GoXam at all.

Also, some unrelated comments: - go:Node.Resizable is ignored everywhere but on the root element of the DataTemplate - you probably want to set go:Part.ResizeElementName to refer to the element you want users to resize. I would think that should be the ContentPresenter. - setting go:Part.Visible="True" and Visibility="Visible" is unnecessary