Returns a DiagramShape based on the given XAttribute value.

Namespace:  Mindscape.WpfDiagramming
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
protected DiagramShape Shape(
	XAttribute xml
)
Visual Basic (Declaration)
Protected Function Shape ( _
	xml As XAttribute _
) As DiagramShape

Parameters

xml
Type: System.Xml.Linq..::.XAttribute
The XAttribute to deserialize to a DiagramShape.

Return Value

The DiagramShape.

See Also