Search
SerializeTag Event

Raised when the Tag of a diagram item must be serialized into an XML document.

Syntax

JavaScript  Copy Code

function onSerializeTag (sender, args)

Event Data

SerializeTag handlers receive an event object of type SerializeTagEventArgs.

Remarks

Only tags of simple value types can be saved and loaded automatically to/from the XML document. You must provide your own serialization for complex types by implementing this event and DeserializeTag.

To handle the SerializeTag event, assign the name of the respective JavaScript function (for example 'onSerializeTag') to the SerializeTagScript property.

See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
SaveToXml Method