menu

WPF

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

    Show / Hide Table of Contents

    Class GanttModel

    Class that will handles the internal operations of Gantt.

    Inheritance
    System.Object
    GanttModel
    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 GanttModel

    Constructors

    GanttModel()

    Initializes a new instance of the GanttModel class.

    Declaration
    public GanttModel()

    GanttModel(GanttControl)

    Initializes a new instance of the GanttModel class.

    Declaration
    public GanttModel(GanttControl gantt)
    Parameters
    Type Name Description
    GanttControl gantt

    The gantt.

    Properties

    InbuiltTaskCollection

    Gets or sets the inbuilt task collection.

    Declaration
    public ObservableCollection<TaskDetails> InbuiltTaskCollection { get; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<TaskDetails>

    The inbuilt task collection.

    Methods

    GetParentOfItem(Object)

    Gets the parent of item.

    Declaration
    public object GetParentOfItem(object item)
    Parameters
    Type Name Description
    System.Object item

    The item.

    Returns
    Type
    System.Object

    GetRowIndexFromItem(Object)

    Gets the row index from item.

    Declaration
    public int GetRowIndexFromItem(object item)
    Parameters
    Type Name Description
    System.Object item

    The item.

    Returns
    Type
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved