menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class XMLImportExport - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class XMLImportExport

    A class that helps to Export/Import current project in Gantt

    Inheritance
    System.Object
    XMLImportExport
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Controls.Gantt
    Assembly: Syncfusion.Gantt.Wpf.dll
    Syntax
    public class XMLImportExport

    Constructors

    XMLImportExport()

    Initializes a new instance of the XMLImportExport class.

    Declaration
    public XMLImportExport()

    Methods

    ExportToXML(IEnumerable, String, IEnumerable<String>)

    Exports to XML.

    Declaration
    public static void ExportToXML(IEnumerable taskDetailsCollection, string FilePath, IEnumerable<string> weekendsList)
    Parameters
    Type Name Description
    System.Collections.IEnumerable taskDetailsCollection

    The task details collection.

    System.String FilePath

    The file path.

    System.Collections.Generic.IEnumerable<System.String> weekendsList

    The weekends list.

    ImportFromXML(String)

    Imports from XML.

    Declaration
    public static ObservableCollection<TaskDetails> ImportFromXML(string FilePath)
    Parameters
    Type Name Description
    System.String FilePath

    The file path.

    Returns
    Type
    System.Collections.ObjectModel.ObservableCollection<TaskDetails>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved