Search
XmlContext.WriteBrush Method
See Also
 






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

Namespace: MindFusion.Spreadsheet
Assembly: MindFusion.Spreadsheet.WinForms

 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 object to write.

elementName

An instance of the .NET XName class that specifies the name of the new element.

parentElement

An instance of the .NET XElement class that specifies the parent element.

 Return Value

An instance of the .NET XElement class representing the newly created element.

 See Also