Interface IGanttTaskModel<TValue>
Represents the hierarchy details maintained in each data object.
Inherited Members
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.Gantt.dll
Syntax
public interface IGanttTaskModel<TValue> : ITreeGridRowModel<TValue>
Type Parameters
| Name |
|---|
| TValue |
Properties
IsCritical
Gets a value indicating whether the task is critical or not.
Declaration
bool IsCritical { get; }
Property Value
| Type |
|---|
| bool |
Left
Gets the position of the task on the horizontal axis in gantt chart.
Declaration
double Left { get; }
Property Value
| Type |
|---|
| double |
ProgressWidth
Gets the width of the progress bar in gantt chart.
Declaration
double ProgressWidth { get; }
Property Value
| Type |
|---|
| double |
RowIndex
Gets the index of the row.
Declaration
int RowIndex { get; }
Property Value
| Type | Description |
|---|---|
| int | A int representing the index of the row. |
Remarks
The RowIndex property represents the index of the row in the HTML table or the current view rows collection.
Segments
Gets the list of Gantt segment data of a task.
Declaration
List<GanttSegmentData> Segments { get; }
Property Value
| Type | Description |
|---|---|
| List<GanttSegmentData> | A list of GanttSegmentData representing the segments of a Gantt task. |
Remarks
The Segments property provides access to the detailed segment information of a Gantt task. Segments are used to describe specific portions of a task's timeline, such as interruptions, or splits.
Slack
Declaration
double? Slack { get; }
Property Value
| Type |
|---|
| double? |
Width
Gets or sets the width of the taskbar in gantt chart.
Declaration
double Width { get; }
Property Value
| Type |
|---|
| double |