alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Interface IGanttTaskModel<TValue>

    Represents the hierarchy details maintained in each data object.

    Inherited Members
    ITreeGridRowModel<TValue>.Data
    ITreeGridRowModel<TValue>.HasChildRecords
    ITreeGridRowModel<TValue>.IsExpanded
    ITreeGridRowModel<TValue>.Level
    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
    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

    Represents the total slack of the task.

    Declaration
    double? Slack { get; }
    Property Value
    Type Description
    double?

    The number of days between current task end date 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
    double
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved