MindFusion.Charting for Silverlight Programmer's Guide
XmlSerializationContext.WriteBrush Method
See Also
 






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

Namespace: MindFusion.Charting.Silverlight
Assembly: MindFusion.Charting.Silverlight

 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 serialize.

elementName

The name of the XML element.

parentElement

The parent of the XML element.

 Return Value

The newly created System.Windows.Media.Brush object.

 See Also

XmlSerializationContext Members
XmlSerializationContext Class
MindFusion.Charting.Silverlight Namespace