Hi!, I have a question.
When I edit a text from Node, the text is removed and I cant add again the text, this is the code of this:
<DataTemplate x:Name="NodeTemplate" x:Key="NodeTemplate"> <go:SpotPanel Name="SpotPanel" go:Part.SelectionAdornmentTemplate="{StaticResource NodeSelectionAdornmentTemplate}" MouseLeftButtonDown="Node_MouseLeftButtonDown" MouseLeftButtonUp="Node_MouseLeftButtonUP" go:Part.SelectionAdorned="True" go:Node.Location="{Binding Data.Location, Mode=TwoWay}" Background="White"> <go:NodePanel Sizing="Auto" go:SpotPanel.Main="True"> <Grid Name="grillaNodo" VerticalAlignment="Center" HorizontalAlignment="Center"> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition /> </Grid.RowDefinitions> <TextBlock Grid.Row="0" Text="{Binding Data.Icono}" Name="Icono_Nodo" HorizontalAlignment="Center" FontFamily="Fonts\SegoeUiSymbol.ttf#Segoe UI Symbol" Foreground="{Binding Data.ColorIcono, Mode=TwoWay, Converter= {StaticResource converterColor}}" FontSize="{Binding Data.TamanioFuenteIcono, Mode=TwoWay}" /> <TextBlock Name="TextoNodos" Grid.Row="1" Text="{Binding Data.Text, Mode=TwoWay}" Foreground="{Binding Data.ColorTexto, Mode=TwoWay, Converter= {StaticResource converterColor}}" FontSize="{Binding Data.TamanioFuenteTexto, Mode=TwoWay}" FontFamily="{Binding Data.TipoFuenteTexto, Mode=TwoWay}" go:Part.TextEditable="True" LostFocus="TextoNodos_LostFocus" HorizontalAlignment="Center" /> </Grid> </go:NodePanel> <Rectangle Fill="Transparent" Width="6" Height="6" go:SpotPanel.Spot="MiddleLeft" go:SpotPanel.Alignment="MiddleLeft" go:Node.PortId="L" go:Node.LinkableFrom="True" go:Node.LinkableTo="True" Cursor="Hand" go:Node.FromSpot="MiddleLeft" go:Node.ToSpot="MiddleLeft" /> <Rectangle Fill="Transparent" Width="6" Height="6" go:SpotPanel.Spot="MiddleTop" go:SpotPanel.Alignment="MiddleTop" go:Node.PortId="T" go:Node.LinkableFrom="True" go:Node.LinkableTo="True" Cursor="Hand" go:Node.FromSpot="MiddleTop" go:Node.ToSpot="MiddleTop" /> <Rectangle Fill="Transparent" Width="6" Height="6" go:SpotPanel.Spot="MiddleRight" go:SpotPanel.Alignment="MiddleRight" go:Node.PortId="R" go:Node.LinkableFrom="True" go:Node.LinkableTo="True" Cursor="Hand" go:Node.FromSpot="MiddleRight" go:Node.ToSpot="MiddleRight" /> <Rectangle Fill="Transparent" Width="6" Height="6" go:SpotPanel.Spot="MiddleBottom" go:SpotPanel.Alignment="MiddleBottom" go:Node.PortId="B" go:Node.LinkableFrom="True" go:Node.LinkableTo="True" Cursor="Hand" go:Node.FromSpot="MiddleBottom" go:Node.ToSpot="MiddleBottom" /> </go:SpotPanel> </DataTemplate>
and this is a video from error