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


Contains methods that can help you serialize and deserialize MindFusion.Charting for Silverlight items 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.

XDocument

Gets the underlying XML document.

XElement

Gets the underlying XML document.

 Public Methods

  Name Description

AddChildElement

Overloaded.  

ReadBool

Overloaded.  

ReadBrush

Reads a Brush object with the specified name.

ReadBrushList

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

ReadByte

Reads a byte value with the specified name.

ReadChar

Reads a char value with the specified name.

ReadColor

Reads a color with the specified name.

ReadColorArray

Reads a color array with the specified name.

ReadDecimal

Reads a decimal value with the specified name.

ReadDouble

Overloaded.  

ReadDoubleArray

Reads a color array with the specified name.

ReadDoubleCollection

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

ReadEffect

Reads the System.Windows.Media.Effects.Effect that was applied to the specified element with the specified parent.

ReadEnum

Overloaded. Reads enumeration.

ReadFloat

Overloaded. Reads a float value.

ReadFontFamily

Reads a FontFamily object with the specified name.

ReadFontStyle

Reads a System.Windows.FontStyle object with the specified name.

ReadFontWeight

Reads a System.Windows.FontWeight object with the specified name.

ReadGradientStopCollection

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

ReadInt

Overloaded. Reads an int value.

ReadLong

Reads a long value with the specified name.

ReadPoint

Overloaded.  

ReadPointCollection

Reads a PointCollection object with the specified name.

ReadRectangle

Reads a Rect object with the specified name.

ReadSByte

Reads a 8-bit signed integer value with the specified name.

ReadShort

Reads a short value with the specified name.

ReadSize

Reads a System.Windows.Size object with the specified name.

ReadStream

Reads a stream with the specified name.

ReadString

Overloaded.  

ReadThickness

Reads a System.Windows.Thickness object with the specified name.

ReadUInt

Reads an unsigned integer value with the specified name.

ReadULong

Reads an unsigned long value with the specified name.

ReadUShort

Reads an unsigned short value with the specified name.

SelectNode

Returns the child node with the specified name.

WriteBool

Writes a boolean value with the specified name.

WriteBrush

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

WriteBrushList

Overloaded.  

WriteByte

Write a byte value with the specified name.

WriteChar

Write a char value with the specified name.

WriteColor

Writes the specified color.

WriteColorArray

Writes the specified array of Color values.

WriteDecimal

Write the decimal value with the specified name.

WriteDouble

Writes a double value with the specified name.

WriteDoubleArray

Writes the specified array.

WriteDoubleCollection

Writes the specified DoubleCollection under the specified name with the specified parent.

WriteEffect

Writes the specified System.Windows.Media.Effect under the specified name with the specified parent.

WriteEnum

Writes the specified enum value.

WriteFontFamily

Overloaded.  

WriteFontStyle

Writes a FontStyle object with the specified name.

WriteFontWeight

Writes a FontWeight object with the specified name.

WriteGradientStop

Writes the specified GradientStop under the specified name with the specified parent.

WriteGradientStopCollection

Writes the specified GradientStopCollection under the specified name with the specified parent.

WriteInt

Writes an integer value with the specified name.

WriteLong

Writes a long value with the specified name.

WritePoint

Overloaded.  

WritePointCollection

Writes the specified point collection.

WriteRectangle

Writes a RectangleF with the specified name.

WriteSByte

Write a 8-bit signed integer value with the specified name.

WriteShort

Writes a short value with the specified name.

WriteSize

Writes a Size with the specified name.

WriteStream

Writes the specified stream.

WriteString

Writes a string value with the specified name.

WriteThickness

Overloaded.  

WriteUInt

Writes an unsigned integer value with the specified name.

WriteULong

Writes an unsigned long value with the specified name.

WriteUShort

Writes an unsigned short value with the specified name.

 See Also

XmlSerializationContext Class
MindFusion.Charting.Silverlight Namespace