DiagramLite Programmer's Guide
XmlPersistContext.ReadBrush Method
See Also
 





Reads a Brush object with the specified name.

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

 Syntax

C#  Copy Code

public Brush ReadBrush (
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function ReadBrush( _
    elementName As String, _
    parentElement As XElement _
) As Brush

 Parameters

elementName
The name of the element containing the Brush object.
parentElement

The parent element of the node with the specified name.

 Return Value

An instance of the System.Windows.Media.Brush class.

 See Also

XmlPersistContext Members
XmlPersistContext Class
MindFusion.Diagramming Namespace