menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GanttTimelineSettingsBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GanttTimelineSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    GanttTimelineSettingsBuilder
    Namespace: Syncfusion.EJ2.Gantt
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class GanttTimelineSettingsBuilder : ControlBuilder

    Constructors

    GanttTimelineSettingsBuilder()

    Declaration
    public GanttTimelineSettingsBuilder()

    GanttTimelineSettingsBuilder(GanttTimelineSettings)

    Declaration
    public GanttTimelineSettingsBuilder(GanttTimelineSettings model)
    Parameters
    Type Name Description
    GanttTimelineSettings model

    Methods

    BottomTier(GanttTimelineTierSettings)

    Defines bottom tier settings in timeline.

    Declaration
    public GanttTimelineSettingsBuilder BottomTier(GanttTimelineTierSettings value)
    Parameters
    Type Name Description
    GanttTimelineTierSettings value
    Returns
    Type
    GanttTimelineSettingsBuilder

    BottomTier(Action<GanttTimelineTierSettingsBuilder>)

    Declaration
    public GanttTimelineSettingsBuilder BottomTier(Action<GanttTimelineTierSettingsBuilder> bottomTier)
    Parameters
    Type Name Description
    System.Action<GanttTimelineTierSettingsBuilder> bottomTier
    Returns
    Type
    GanttTimelineSettingsBuilder

    ShowTooltip(Boolean)

    Enables or disables tooltip for timeline cells.

    Declaration
    public GanttTimelineSettingsBuilder ShowTooltip(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    GanttTimelineSettingsBuilder

    ShowWeekend(Boolean)

    Enables or disables the display of weekend cells in the Gantt Chart timeline. Weekend days are determined based on the workweek configuration, which defines the working days (e.g., Monday to Friday). Any day not included in the workweek is treated as a non-working day. When set to false, non-working days will be hidden from the timeline view.

    Declaration
    public GanttTimelineSettingsBuilder ShowWeekend(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    GanttTimelineSettingsBuilder

    TimelineUnitSize(Double)

    Defines width of timeline cell.

    Declaration
    public GanttTimelineSettingsBuilder TimelineUnitSize(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    GanttTimelineSettingsBuilder

    TimelineViewMode(TimelineViewMode)

    Defines timeline mode of Gantt header. None - Default. Week - Define the week mode header. Day - Define the day mode header. Hour - Define the hour mode header. Month - Define the month mode header. Year - Define the year mode header. Minutes - Define the minutes mode header.

    Declaration
    public GanttTimelineSettingsBuilder TimelineViewMode(TimelineViewMode value)
    Parameters
    Type Name Description
    TimelineViewMode value
    Returns
    Type
    GanttTimelineSettingsBuilder

    TopTier(GanttTimelineTierSettings)

    Defines top tier setting in timeline.

    Declaration
    public GanttTimelineSettingsBuilder TopTier(GanttTimelineTierSettings value)
    Parameters
    Type Name Description
    GanttTimelineTierSettings value
    Returns
    Type
    GanttTimelineSettingsBuilder

    TopTier(Action<GanttTimelineTierSettingsBuilder>)

    Declaration
    public GanttTimelineSettingsBuilder TopTier(Action<GanttTimelineTierSettingsBuilder> topTier)
    Parameters
    Type Name Description
    System.Action<GanttTimelineTierSettingsBuilder> topTier
    Returns
    Type
    GanttTimelineSettingsBuilder

    UpdateTimescaleView(Boolean)

    Enables or disables timeline auto update on editing action.

    Declaration
    public GanttTimelineSettingsBuilder UpdateTimescaleView(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    GanttTimelineSettingsBuilder

    WeekendBackground(String)

    Defines background color of weekend cell in week - day timeline mode.

    Declaration
    public GanttTimelineSettingsBuilder WeekendBackground(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    GanttTimelineSettingsBuilder

    WeekStartDay(Double)

    Defines week start day in timeline.

    Declaration
    public GanttTimelineSettingsBuilder WeekStartDay(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    GanttTimelineSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved