MindFusion.Wpf Pack Programmer's Guide
XmlSerializationContext Members
Constructors Fields Properties Methods
 


Contains methods that can help you serialize and deserialize controls 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.  

FromImage

 

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.

ReadCustomRect

 

ReadDecimal

Reads a decimal value with the specified name.

ReadDockElement

Reads a DockElement object with the specified name.

ReadDockItem

Reads a DockItem object with the specified name.

ReadDouble

Reads a double value with the specified name.

ReadDoubleArray

Reads a color array with the specified name.

ReadDoubleCollection

Reads a DoubleCollection from the specified element with the specified parent.

ReadEffect

Reads a visual Effect from the specified XML element with the specified parent.

ReadEnum

Overloaded.  

ReadFloat

Overloaded.  

ReadFontFamily

Reads a FontFamily object with the specified name.

ReadFontStyle

Reads a FontStyle object with the specified name.

ReadFontWeight

Reads a FontWeight object with the specified name.

ReadGradientStopCollection

Reads a GradientStopCollection from the specified element with the specified parent.

ReadInt

Overloaded.  

ReadLong

Reads a long value with the specified name.

ReadObject

Reads an object with the specified name.

ReadPen

Reads a Pen object with the specified name.

ReadPoint

Overloaded.  

ReadPointCollection

Reads a PointCollection object with the specified name.

ReadRectangle

Reads a rectangle from the specified node with the specified parent.

ReadSByte

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

ReadShort

Reads a short value with the specified name.

ReadSize

Reads a Size object with the specified name.

ReadStream

Reads a stream with the specified name.

ReadString

Overloaded.  

ReadThickness

Reads a 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.

SelectNodes

Returns the child nodes with the specified name.

ToImage

 

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.

WriteBrushList

Writes the specified list of brushes as a XML element.

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.

WriteCustomRect

Writes a CustomRect with the specified name.

WriteDecimal

Write a decimal value with the specified name.

WriteDockElement

Writes a DockElement value with the specified name.

WriteDockItem

Writes a DockItem value with the specified name.

WriteDouble

Writes a double value with the specified name.

WriteDoubleArray

Writes the specified array.

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 FontFamily object with the specified name.

WriteFontStyle

Writes a FontStyle object with the specified name.

WriteFontWeight

Writes a FontWeight object with the specified name.

WriteGradientStop

Writes the specified GradientStop in XML.

WriteGradientStopCollection

Writes the specified GradientStopCollection.

WriteInt

Writes an integer value with the specified name.

WriteLong

Writes a long value with the specified name.

WriteObject

Writes the specified object under the specified name.

WritePen

Writes the specified pen.

WritePoint

Writes a Point with the specified name.

WritePointCollection

Writes the specified PointCollection as a XML element.

WriteRectangle

Writes a Rect 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

Writes a Thickness with the specified name.

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.UI.Wpf Namespace