Contains methods that can help you serialize and deserialize Diagram items to end from XML documents.
The following tables list the members exposed by the XmlPersistContext type.
Name | Description | |
---|---|---|
Overloaded. |
Name | Description | |
---|---|---|
Specifies the latest file format revision number. |
||
For internal use. |
Name | Description | |
---|---|---|
Gets the class version of the currently deserialized item. |
||
Gets the underlying diagram object. |
||
Gets the format revision number for the file being currently serialized. |
||
Gets the underlying XML document. |
Name | Description | |
---|---|---|
Overloaded. |
||
Reads an AnchorPattern with the specified name. |
||
Overloaded. |
||
Reads a Brush object with the specified name. |
||
Reads a byte value with the specified name. |
||
Reads a char value with the specified name. |
||
Reads a color with the specified name. |
||
Reads a color array with the specified name. |
||
Loads a Control object. |
||
Reads a decimal value with the specified name. |
||
Overloaded. |
||
Loads a DoubleCollection. |
||
Overloaded. |
||
Overloaded. |
||
Overloaded. |
||
Reads a double array with the specified name. |
||
Reads a Font object with the specified name. |
||
Reads a FontFamily object with the specified name. |
||
Reads a FontStyle object with the specified name. |
||
Reads a FontUnit object with the specified name. |
||
Reads a hash table object with the specified name. |
||
Reads an Image object with the specified name. |
||
Overloaded. |
||
Overloaded. |
||
Reads a long value with the specified name. |
||
Reads a NodeConstraints object with the specified name. |
||
Reads an object with the specified name. |
||
Reads a Pen object with the specified name. |
||
Reads a PointCollection object with the specified name. |
||
Overloaded. |
||
Reads a Rect object with the specified name. |
||
Reads a 8-bit signed integer value with the specified name. |
||
Overloaded. |
||
Reads a short value with the specified name. |
||
Reads a Size object with the specified name. |
||
Reads a stream with the specified name. |
||
Overloaded. |
||
Reads a StringFormat object with the specified name. |
||
Reads the specified tag for the specified object. |
||
Reads a Theme object with the specified name. |
||
Reads a Thickness object with the specified name. |
||
Reads an unsigned integer value with the specified name. |
||
Reads an unsigned long value with the specified name. |
||
Reads an unsigned short value with the specified name. |
||
Writes the specified anchor pattern. |
||
Writes a boolean value with the specified name. |
||
Writes a reference to the specified brush. The brush is registered within the internal hashtable for subsequent serialization. |
||
Write a byte value with the specified name. |
||
Write a char value with the specified name. |
||
Writes the specified color. |
||
Writes the specified array. |
||
Saves a user control hosted. |
||
Write a decimal value with the specified name. |
||
Writes a double value with the specified name. |
||
Writes the specified array. |
||
Writes a reference to the specified effect. The effect is registered within the internal hashtable for subsequent serialization. |
||
Writes the specified enum value. |
||
Writes a float value with the specified name. |
||
Writes the specified array. |
||
Writes the specified font. |
||
Writes a FontFamily object with the specified name. |
||
Writes a FontStyle object with the specified name. |
||
Writes the group of nodes attached to the specified node. |
||
Writes the specified hashtable. |
||
Writes a reference to the specified image. The image is registered within the internal hashtable for subsequent serialization. |
||
Writes an integer value with the specified name. |
||
Writes a reference to the specified item with the specified name. |
||
Writes a long value with the specified name. |
||
Writes the specified NodeConstraints object. |
||
Writes the specified object under the specified name. |
||
Overloaded. |
||
Writes the specified point collection. |
||
Overloaded. |
||
Writes a RectangleF with the specified name. |
||
Write a 8-bit signed integer value with the specified name. |
||
Writes the specified shape with the specified name. |
||
Writes a short value with the specified name. |
||
Writes a Size with the specified name. |
||
Writes the specified stream. |
||
Writes a string value with the specified name. |
||
Writes the specified StringFormat object. |
||
Writes the specified tag of the specified object. |
||
Writes the specified Theme object. |
||
Writes a Thickness with the specified name. |
||
Used to save item's LayoutTraits. |
||
Writes an unsigned integer value with the specified name. |
||
Writes an unsigned long value with the specified name. |
||
Writes an unsigned short value with the specified name. |
||
Serializes an object to XAML. |