alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class GanttCriticalPathSettings

    Configures the critical path settings for the Gantt chart.

    Inheritance
    object
    ComponentBase
    GanttCriticalPathSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Gantt
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GanttCriticalPathSettings : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

    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
    [Parameter]
    public int SlackValue { get; set; }
    Property Value
    Type Description
    int

    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
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    OnInitializedAsync()

    Triggers during the initial rendering of the component.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    A Task representing the asynchronous operation.

    Overrides
    ComponentBase.OnInitializedAsync()

    OnParametersSetAsync()

    Called by the framework when component parameters have been set. Executes logic that depends on the updated parameter values.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnParametersSetAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved