ASP.NET Pack Programmer's Guide
XmlPersistContext Members
Constructors Fields Properties Methods
 


Contains methods that can help you serialize and deserialize MindFusion.UI for WebForms controls to and from XML documents.

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

 Public Constructors

  Name Description

XmlPersistContext

Initializes a new instance of the XmlPersistContext class.

 Public Fields

  Name Description

LatestFormat

Specifies the latest file format revision number.

 Public Properties

  Name Description

Control

Gets the underlying control.

FileVersion

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

IncludeUnalteredProperties

Gets or sets a value specifies whether properties that have their default value should be serialized to XML.

XmlDocument

Gets the underlying XML document.

 Public Methods

  Name Description

AddChildElement

Adds a new child node with the specified name and value to the specified parent node.

ReadBool

Reads a boolean value with the specified name.

ReadByte

Reads a byte value with the specified name.

ReadChar

Reads a char value with the specified name.

ReadColor

Overloaded.  

ReadColorArray

Reads a color array with the specified name.

ReadCulture

Overloaded.  

ReadDateTime

Overloaded.  

ReadDateTimeNullable

Overloaded.  

ReadDecimal

Reads a decimal value with the specified name.

ReadDouble

Reads a double value with the specified name.

ReadDoubleNullable

Overloaded.  

ReadEnum

Overloaded.  

ReadFloat

Reads a float value with the specified name.

ReadFloatArray

Reads a float array with the specified name.

ReadFont

Overloaded.  

ReadHashtable

Reads a hash or traits table object with the specified name.

ReadInt

Reads an integer value with the specified name.

ReadLong

Reads a long value with the specified name.

ReadObject

Reads an object with the specified name.

ReadPointF

Overloaded.  

ReadRectangleF

Overloaded.  

ReadSByte

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

ReadShort

Reads a short value with the specified name.

ReadSize

Overloaded.  

ReadSizeF

Reads a SizeF object with the specified name.

ReadStream

Reads a stream with the specified name.

ReadString

Reads a string value with the specified name.

ReadStringFormat

Overloaded.  

ReadUInt

Reads an unsigned integer value with the specified name.

ReadULong

Reads an unsigned long value with the specified name.

ReadUnit

Overloaded.  

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.

WriteBool

Writes a boolean value with the specified name.

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.

WriteCulture

Writes a CultureInfo object with the specified name.

WriteDateTime

Writes the specified DateTime object as an XML element with the specified name and the specified parent.

WriteDateTimeNullable

Writes the specified DateTime object as an XML element with the specified name and the specified parent.

WriteDecimal

Write a decimal value with the specified name.

WriteDouble

Writes a double value with the specified name.

WriteDoubleNullable

Writes a double value with the specified name.

WriteEnum

Writes the specified enum value.

WriteFloat

Writes a float value with the specified name.

WriteFloatArray

Writes the specified array.

WriteFont

Writes the specified font.

WriteHashtable

Writes the specified hashtable.

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.

WritePointF

Overloaded.  

WriteRectangleF

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.

WriteSizeF

Writes a SizeF with the specified name.

WriteStream

Writes the specified stream.

WriteString

Writes a string value with the specified name.

WriteStringFormat

Writes the specified StringFormat object.

WriteUInt

Writes an unsigned integer value with the specified name.

WriteULong

Writes an unsigned long value with the specified name.

WriteUnit

Writes a Unit value.

WriteUShort

Writes an unsigned short value with the specified name.

 See Also

XmlPersistContext Class
MindFusion.UI.WebForms Namespace