MindFusion.Wpf Pack Programmer's Guide
XmlContext.ReadColor Method
See Also
 





Reads a Color value from the element with the specified name.

Namespace: MindFusion.Spreadsheet.Wpf
Assembly: MindFusion.Spreadsheet.Wpf

 Syntax

C#  Copy Code

public Color ReadColor (
    XName elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function ReadColor( _
    elementName As XName, _
    parentElement As XElement _
) As Color

 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 WPF Color structure representing the read color, or Black if reading has failed.

 See Also

XmlContext Members
XmlContext Class
MindFusion.Spreadsheet.Wpf Namespace