Class DiagramXmlSerializer<TElement>
Provides custom formatting for XML serialization and deserialization.
Inheritance
System.Object
DiagramXmlSerializer<TElement>
Implements
System.Xml.Serialization.IXmlSerializable
Namespace: Syncfusion.UI.Xaml.Diagram.Serializer
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class DiagramXmlSerializer<TElement> : Object, IXmlSerializable
Type Parameters
Name |
---|
TElement |
Constructors
DiagramXmlSerializer()
Declaration
protected DiagramXmlSerializer()
DiagramXmlSerializer(TElement)
Provides custom formatting for XML serialization and deserialization.
Declaration
public DiagramXmlSerializer(TElement element)
Parameters
Type | Name | Description |
---|---|---|
TElement | element | The object to be serialized. |
Properties
Element
Gets the object for XML serialization and deserialization.
Declaration
public TElement Element { get; }
Property Value
Type |
---|
TElement |
Methods
GetSchema()
Declaration
public XmlSchema GetSchema()
Returns
Type |
---|
System.Xml.Schema.XmlSchema |
ReadXml(XmlReader)
Generates an object from its XML representation.
Declaration
public void ReadXml(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | The System.Xml.XmlReader stream from which the object is deserialized. |
WriteXml(XmlWriter)
Converts an object into its XML representation.
Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlWriter | writer | The System.Xml.XmlWriter stream to which the object is serialized. |
Implements
System.Xml.Serialization.IXmlSerializable