Class GanttModel
Class that will handles the internal operations of Gantt.
Inheritance
System.Object
GanttModel
Namespace: Syncfusion.Windows.Controls.Gantt
Assembly: Syncfusion.Gantt.Wpf.dll
Syntax
public class GanttModel : Object
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 |