Search
XmlContext.ReadBrush Method (XName, XElement)
See Also
 






Reads a Brush object with the specified name.

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

 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

An instance of the .NET XName class that specifies the element to read.

parentElement

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

 Return Value

An instance of the Brush class representing the read brush, or null (Nothing in Visual Basic) if reading has failed.

 See Also