Lets you save the attributes of controls hosted inside ControlNodes.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C#
![]() |
---|
public event EventHandler<ControlNodeEventArgs> SerializeControl |
Visual Basic
![]() |
---|
Public Event SerializeControl As EventHandler(Of ControlNodeEventArgs) |
SerializeControl event handlers receive an argument of type ControlNodeEventArgs.
By default the diagram component saves and loads hosted controls by means of the XamlWriter and XamlReader classes provided by the WPF framework. If they cannot serialize the content of nodes automatically, the SerializeControl and DeserializeControl events can be handled to implement custom serialization.
C#
![]() |
---|
private void OnDiagramSerializeControl(object sender, ControlNodeEventArgs e) |
WpfDiagram Programmer's Guide | © 2025 MindFusion |