Search
DiagramItem.LoadFromXml Method
See Also
 






Loads the item content from an XML element.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

protected virtual void LoadFromXml (
    XElement element,
    XmlPersistContext context
)

Visual Basic  Copy Code

Protected Overridable Sub LoadFromXml( _
    element As XElement, _
    context As XmlPersistContext _
)

 Parameters

element

An XElement containing the item's data.

context

An XmlPersistContext object providing contextual information about the serialization process and some helper serialization methods.

 Remarks

This method is invoked when an item is being deserialized from a diagram file saved in XML format.

 See Also