MindFusion.Wpf Pack Programmer's Guide
XmlSerializationContext.ReadColor Method (String, XmlElement)
See Also
 





Reads a color with the specified name.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling.Wpf

 Syntax

C#  Copy Code

public Color ReadColor (
    string elementName,
    XmlElement parentElement
)

Visual Basic  Copy Code

Public Function ReadColor( _
    elementName As String, _
    parentElement As XmlElement _
) As Color

 Parameters

elementName
The name of the element containing the .NET Color object.
parentElement
The parent element of the node with the specified name.

 Return Value

A .NET Color object. Returns Black if there is no element with the specified name under the specified parent.

 See Also

XmlSerializationContext Members
XmlSerializationContext Class
MindFusion.Scheduling Namespace
WriteColor Method