DiagramLite Programmer's Guide
XmlPersistContext.ReadShape Method (String, XElement, Shape)
See Also
 





Reads a Shape object with the specified name.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public Shape ReadShape (
    string elementName,
    XElement parentElement,
    Shape defaultValue
)

Visual Basic  Copy Code

Public Function ReadShape( _
    elementName As String, _
    parentElement As XElement, _
    defaultValue As Shape _
) As Shape

 Parameters

elementName

The name of the element containing the Shape object.

parentElement

The parent element of the node with the specified name.

defaultValue

The value to return if the XML element does not exist.

 Return Value

 See Also

ReadShape Method Overload List
XmlPersistContext Members
XmlPersistContext Class
MindFusion.Diagramming Namespace