Hi Robin,
Thanks for your interest in Syncfusion product.
I was able to reproduce this issue. I have fixed this issue in your sample. You can do any action after the deserialization. Please refer to the modified code.
If m_OuterRect Is Nothing Then
Me.m_OuterRect = New Syncfusion.Windows.Forms.Diagram.RoundRect(0, 0, 60, 60, 15, MeasureUnits.Pixel)
Me.m_OuterRect.PinPoint = New PointF(40, 70)
End If
Select Case State
Case "Unplugged"
Me.m_OuterRect.FillStyle.Color = Color.Gray
Case "Connected"
Me.m_OuterRect.FillStyle.Color = Color.White
Case "Delivered"
Me.m_OuterRect.FillStyle.Color = Color.Yellow
Case "Acknowledged"
Me.m_OuterRect.FillStyle.Color = Color.Green
Case "TimedOut"
Me.m_OuterRect.FillStyle.Color = Color.Red
Case "Reset"
Me.m_OuterRect.FillStyle.Color = Color.White
End Select
I have attached the sample for your reference. You canb download the sample from the following page.
http://websamples.syncfusion.com/samples/Diagram.Windows/F66956/main.htmPlease refer to the sample and let me know if you have any questions.
Regards,
Nagaraj