alexa
menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class XMLImportExport

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

    Inheritance
    System.Object
    XMLImportExport
    Namespace: Syncfusion.Windows.Controls.Gantt
    Assembly: Syncfusion.Gantt.Wpf.dll
    Syntax
    public class XMLImportExport : Object

    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 - 2026 Syncfusion Inc. All Rights Reserved