Interface IGanttTaskModel<TValue>
Represents the hierarchy details maintained in each data object.
Inherited Members
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.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 |
---|
System.Boolean |
Left
Gets the position of the task on the horizontal axis in gantt chart.
Declaration
double Left { get; }
Property Value
Type |
---|
System.Double |
ProgressWidth
Gets the width of the progress bar in gantt chart.
Declaration
double ProgressWidth { get; }
Property Value
Type |
---|
System.Double |
RowIndex
Gets the index of the row.
Declaration
int RowIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | A System.Int32 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 |
---|---|
System.Collections.Generic.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
Represents the total slack of the task.
Declaration
Nullable<double> Slack { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> | The number of days between current task end data and the project end date. |
Remarks
Slack is the amount of time that a task can be delayed without affecting the overall completion of the project. It is calculated as the difference of project end date and current task end date.
Width
Gets or sets the width of the taskbar in gantt chart.
Declaration
double Width { get; }
Property Value
Type |
---|
System.Double |