Search
DiagramView.DeserializeControl Event
See Also
 





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

 Syntax

C#  Copy Code

public event EventHandler<ControlNodeEventArgs> DeserializeControl

Visual Basic  Copy Code

Public Event DeserializeControl As EventHandler(Of ControlNodeEventArgs)

 Event Data

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.

 Remarks

You must read from the stream exactly as many bytes as were written from the SerializeControl event handler.

 See Also