Contains methods that can help you serialize and deserialize WpfDiagram items to end from XML documents.
The following tables list the members exposed by the XmlPersistContext type.
Name | Description | |
---|---|---|
Initializes a new instance of the XmlPersistContext class. |
Name | Description | |
---|---|---|
Specifies the latest file format revision number. |
Name | Description | |
---|---|---|
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. |
||
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. |
||
An XmlOptions object providing properties for customizing the XML serialization process. |
Name | Description | |
---|---|---|
Overloaded. |
||
Converts the specified path from relative to the BaseURI to an absolute path. |
||
Instantiates an item with the specified class id. |
||
Reads an AnchorPattern with the specified name. |
||
Reads an AnchorPoint 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. |
||
Reads a decimal value with the specified name. |
||
Reads a double value with the specified name. |
||
Overloaded. Reads a NodeEffect object with the specified name. |
||
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 group object with the specified name. |
||
Reads a hash table object with the specified name. |
||
Reads an System.Windows.Media.ImageSource 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 System.Windows.Media.Pen object with the specified name. |
||
Reads a Point3D object with the specified name. |
||
Reads a PointCollection object with the specified name. |
||
Reads a StylusPointCollection object with the specified name. |
||
Overloaded. |
||
Reads a System.Windows.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. |
||
Overloaded. |
||
Reads a stream with the specified name. |
||
Overloaded. |
||
Reads a StringFormat object with the specified name. |
||
Reads a SVG 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. |
||
Reads a Vector object with the specified name. |
||
Reads a Visio content with the specified name. |
||
Loads an object from its XAML representation. |
||
Returns the child node with the specified name. |
||
Returns the child nodes with the specified name. |
||
Converts the specified absolute path to a path relative to the BaseURI. |
||
Writes the specified anchor pattern. |
||
Writes the specified anchor point. |
||
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. |
||
Write a decimal value with the specified name. |
||
Writes a double value with the specified name. |
||
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 a FontUnit object with the specified name. |
||
Writes the specified group object. |
||
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 object under the specified name. |
||
Writes the specified pen. |
||
Writes a Point3D with the specified name. |
||
Writes the specified point collection. |
||
Writes the specified StylusPointCollection. |
||
Writes a Point with the specified name. |
||
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 a reference to the specified SVG. The SVG is registered within the internal hashtable for subsequent serialization. |
||
Writes the specified tag of the specified object. |
||
Writes the specified Theme object. |
||
Writes a Thickness with the specified name. |
||
Writes the specified traits hashtable. |
||
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. |
||
Writes a Vector with the specified name. |
||
Writes a reference to the specified Visio content. The content is registered within the internal hashtable for subsequent serialization. |
||
Serializes an object to XAML. |