Class GanttCriticalPathSettings
Configures the critical path settings for the Gantt chart.
Inheritance
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public class GanttCriticalPathSettings : ComponentBase
Constructors
GanttCriticalPathSettings()
Declaration
public GanttCriticalPathSettings()
Properties
SlackValue
Gets or sets the slack value, in number of days, which is used to determine whether a task is critical in the Gantt chart.
Declaration
public int SlackValue { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The number of days between the project's end date and task's end date that must elapse before the task is considered critical. The default value is zero. |
Remarks
Slack is a measure of how many days a task can be delayed without affecting the project's completion. Tasks with zero or negative slack values are critical, while tasks with positive slack values are non-critical. If a task's end date is the same as the project's end date, the slack value is 0, and the task is considered critical. For example, consider a project with an end date of January 15th, 2023. If a task has an end date of January 14th, 2023, and the slack value is zero, then the task is considered non-critical. If the slack value is 1, then the task is considered critical. On the other hand, if the task has an end date of January 16th, 2023, and the slack value is zero, then the task is considered critical. If the slack value is -2, then the task is considered non-critical.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |