alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class GanttSegmentData

    Represents a class that defines segment details for a Gantt task.

    Inheritance
    object
    GanttSegmentData
    Inherited Members
    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 GanttSegmentData

    Constructors

    GanttSegmentData()

    Declaration
    public GanttSegmentData()

    Properties

    Duration

    Gets the duration of the segment, represented in days, hours, or minutes based on the DurationUnit property.

    Declaration
    public double Duration { get; }
    Property Value
    Type Description
    double

    A double representing the duration of the segment, where the unit (day, hour, or minute) is determined by the DurationUnit property.

    EndDate

    Gets or sets the end date of the segment.

    Declaration
    public DateTime EndDate { get; }
    Property Value
    Type Description
    DateTime

    A DateTime representing the end date of the segment.

    Left

    Gets or sets the left offset of the taskbar representing the segment.

    Declaration
    public double Left { get; }
    Property Value
    Type Description
    double

    A double representing the left offset of the taskbar for the segment.

    OffsetDuration

    Gets or sets the duration offset between two segments.

    Declaration
    public double OffsetDuration { get; }
    Property Value
    Type Description
    double

    A double representing the duration offset between two segments.

    ProgressWidth

    Gets or sets the width of the progress indicator for the segment.

    Declaration
    public double ProgressWidth { get; }
    Property Value
    Type Description
    double

    A double representing the width of the progress indicator for the segment.

    SegmentIndex

    Gets or sets the index of the segment.

    Declaration
    public int SegmentIndex { get; }
    Property Value
    Type Description
    int

    An int representing the index of the segment.

    ShowProgressBar

    Gets a value indicating whether the progress indicator is visible in the segment's taskbar.

    Declaration
    public bool ShowProgressBar { get; }
    Property Value
    Type Description
    bool

    A bool indicating whether the progress indicator is displayed in the segment's taskbar.

    Remarks

    Set this property to true in the taskbar template if you want to display a progress indicator in the taskbar template of the segment. Setting it to false will hide the progress indicator. This helps in showing progress indicator in the corresponding segment.

    StartDate

    Gets or sets the start date of the segment.

    Declaration
    public DateTime StartDate { get; }
    Property Value
    Type Description
    DateTime

    A DateTime representing the start date of the segment.

    Width

    Gets or sets the width of the taskbar representing the segment.

    Declaration
    public double Width { get; }
    Property Value
    Type Description
    double

    A double representing the width of the taskbar for the segment.

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