WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramXmlSerializer<TElement> - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DiagramXmlSerializer<TElement>

    Provides custom formatting for XML serialization and deserialization.

    Inheritance
    System.Object
    DiagramXmlSerializer<TElement>
    Implements
    System.Xml.Serialization.IXmlSerializable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.UI.Xaml.Diagram.Serializer
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public class DiagramXmlSerializer<TElement> : IXmlSerializable
    Type Parameters
    Name Description
    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 Description
    TElement

    Methods

    GetSchema()

    Declaration
    public XmlSchema GetSchema()
    Returns
    Type Description
    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved