Lets you save additional data for hosted controls when serializing the diagram into a file.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
C# Copy Code |
---|
public event EventHandler<ControlNodeEventArgs> SerializeControl |
Visual Basic Copy Code |
---|
Public Event SerializeControl As EventHandler(Of ControlNodeEventArgs) |
SerializeControl 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 serialized. |
Stream | A Stream object into which the custom data should be serialized. |