MindFusion.Charting for WPF Programmer's Guide
XmlSerializationContext Members
Constructors Fields Properties Methods
 


Contains methods that can help you serialize and deserialize charts to and from XML documents.

The following tables list the members exposed by the XmlSerializationContext type.

 Public Constructors

  Name Description

XmlSerializationContext

Overloaded.  

 Public Fields

  Name Description

LatestFormat

Specifies the latest file format revision number.

 Public Properties

  Name Description

BaseURI

Gets or sets the base URI of the XML document being loaded or saved. When not specified, the BaseURI of the underlying XmlDocument is used.

FileVersion

Gets the format revision number for the file being currently serialized.

XmlDocument

Gets the underlying XML document.

 Public Methods

  Name Description

AddChildElement

Overloaded.  

ReadBool

Overloaded.  

ReadBrush

Reads a Brush object with the specified name.

ReadBrushCollection

Reads a collection of brushes from the element with the specified name and the specified parent.

ReadBrushList

Reads a list of brushes from the specified element with the specified parent.

ReadByte

Reads a byte value from the specified element with the specified parent.

ReadChar

Reads a char value from the specified element with the specified parent.

ReadColor

Reads a System.Windows.Media.Color object from the specified element with the specified parent.

ReadColorArray

Reads a color array with the specified name.

ReadDecimal

Reads a decimal value from the specified element with the specified parent.

ReadDouble

Reads a double value from the specified element with the specified parent.

ReadDoubleArray

Reads an array with double values from the specified element with the specified subelements and the specified parent.

ReadDoubleCollection

Reads a System.Windows.Media.DoubleCollection from the specified element with the specified parent.

ReadEffect

Reads a System.Windows.Media.Effects.Effect value from the specified element with the specified parent. 

ReadEnum

Overloaded. Reads an enumeration.

ReadFloat

Overloaded. Reads a float value.

ReadFontFamily

Reads a System.Windows.Media.FontFamily value from the specified element with the specified parent.

ReadFontStyle

Reads a FontStyle enumeration member from the specified element with the specified parent.

ReadFontWeight

Reads a System.Windows.FontWeight structure value from the specified element with the specified parent.

ReadGradientStopCollection

Reads a System.Windows.Media.GradientStopCollection from the specified element with the specified parent.

ReadInt

Overloaded. Reads an integer value.

ReadLong

Reads a long value from the specified element with the specified parent.

ReadObject

Reads an object value from the specified element with the specified parent.

ReadPen

Reads a System.Windows.Media.Pen value from the specified element with the specified parent.

ReadPoint

Overloaded. Reads a System.Windows.Point value.

ReadPointCollection

Reads a System.Windows.Media.PointCollection value from the specified element with the specified parent.

ReadRectangle

Reads a System.Windows.Shapes.Rectangle value from the specified element with the specified parent.

ReadSByte

Reads an 8-bit signed integer value from the specified element with the specified parent.

ReadShort

Reads a short value from the specified element with the specified parent.

ReadSize

Reads a System.Windows.Size value from the specified element with the specified parent.

ReadStream

Reads a System.IO.Stream value from the specified element with the specified parent.

ReadString

Overloaded. Reads a string value.

ReadThickness

Reads a System.Windows.Thickness value from the specified element with the specified parent.

ReadUInt

Reads an unsigned integer value from the specified element with the specified parent.

ReadULong

Reads an unsigned long value from the specified element with the specified parent.

ReadUShort

Reads an unsigned short value from the specified element with the specified parent.

SelectNode

Returns the child node with the specified name.

SelectNodes

Returns the child nodes with the specified name.

WriteBool

Writes a boolean value with the specified name.

WriteBrush

Writes the specified brush as an XML element. The brush is registered within the internal hashtable for subsequent serialization.

WriteBrushCollection

Writes the specified collection of brushes under the specified name with the specified Xml parent.

WriteBrushList

Writes the specified list of brushes as a XML element.

WriteByte

Writes a byte value as a System.Xml.XmlElement object with the the specified name and the specified parent.

WriteChar

Writes a char value as a System.Xml.XmlElement object with the the specified name and the specified parent.

WriteColor

Writes a System.Windows.Media.Color value as a System.Xml.XmlElement object with the the specified name and the specified parent.

WriteColorArray

Writes an array of System.Windows.Media.Color objects as a System.Xml.XmlElement object with the the specified name and the specified subelements and the specified parent.

WriteDecimal

Writes a decimal value as a System.Xml.XmlElement object with the the specified name and the specified parent.

WriteDouble

Writes a double value as a System.Xml.XmlElement object with the the specified name and the specified parent.

WriteDoubleArray

Writes the specified double array as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteDoubleCollection

Writes the specified DoubleCollection as a XML node with the specified name and with the specified parent element.

WriteEffect

Writes the specified visual effect with the specified element name under the specified parent element.

WriteEnum

Writes the specified enum value.

WriteFontFamily

Writes a System.Windows.Media.FontFamily value as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteFontStyle

Writes a System.Windows.FontStyle value as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteFontWeight

Writes a System.Windows.FontWeight value as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteGradientStop

Writes a System.Windows.Media.GradientStop value as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteGradientStopCollection

Writes a WPF GradientStopCollection as an XmlElement object with the specified name and the specified parent.

WriteInt

Writes an int value as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteLong

Writes a long value as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteObject

Writes a System.Object as a System.Xml.XmlElement with the specified name and the specified parent.

WritePen

Writes a System.Windows.Media.Pen value as a System.Xml.XmlElement object with the specified name and the specified parent.

WritePoint

Writes a System.Windows.Point with the specified name.

WritePointCollection

Writes the specified System.Windows.Media.PointCollection as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteRectangle

Writes a System.Drawing.Rectangle as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteSByte

Write a 8-bit signed integer value as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteShort

Writes a short value as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteSize

Writes a System.Windows.Size value as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteStream

Writes the specified System.IO.Stream value as a System.Xml.XmlElement object with the specified name and the specified parent..

WriteString

Writes a string value as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteThickness

Writes a System.Windows.Thickness value as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteUInt

Writes an unsigned integer value as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteULong

Writes an unsigned long value as a System.Xml.XmlElement object with the specified name and the specified parent.

WriteUShort

Writes an unsigned short value as a System.Xml.XmlElement object with the specified name and the specified parent.

 See Also

XmlSerializationContext Class
MindFusion.Charting.Wpf Namespace