Class GanttModel
Class that will handles the internal operations of Gantt.
Inheritance
System.Object
GanttModel
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.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 | Description |
---|---|
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 | Description |
---|---|
System.Int32 |