Lets you load custom data associated with a hosted control when deserializing a diagram from a stream.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
C# Copy Code |
---|
public event EventHandler<ControlNodeEventArgs> DeserializeControl |
Visual Basic Copy Code |
---|
Public Event DeserializeControl As EventHandler(Of ControlNodeEventArgs) |
DeserializeControl event handlers receive an argument of type ControlNodeEventArgs. The following ControlNodeEventArgs members provide information relevant to the event:
Member name | Description |
---|---|
Node | The ControlNode being deserialized. |
Stream | A Stream object from which to read the custom data. |
You must read from the stream exactly as many bytes as were written from the SerializeControl event handler.