Search
XmlPersistContext.WriteBrush Method
See Also
 






Writes a reference to the specified brush. The brush is registered within the internal hashtable for subsequent serialization.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public XElement WriteBrush (
    Brush brush,
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

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

 Parameters

brush

The Brush to which a reference is written.

elementName

The name of the element under which the object should be written.

parentElement

The parent element of the newly created node.

 Return Value

 See Also