menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class GanttTimelineSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    GanttTimelineSettings
    Namespace: Syncfusion.EJ2.Gantt
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class GanttTimelineSettings : EJTagHelper

    Constructors

    GanttTimelineSettings()

    Declaration
    public GanttTimelineSettings()

    Properties

    BottomTier

    Defines bottom tier settings in timeline.

    Declaration
    public GanttTimelineTierSettings BottomTier { get; set; }
    Property Value
    Type Description
    GanttTimelineTierSettings

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    ShowTooltip

    Enables or disables tooltip for timeline cells.

    Declaration
    public bool ShowTooltip { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    ShowWeekend

    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 bool ShowWeekend { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    TimelineUnitSize

    Defines width of timeline cell.

    Declaration
    public double TimelineUnitSize { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 33

    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 TimelineViewMode TimelineViewMode { get; set; }
    Property Value
    Type Description
    TimelineViewMode

    The default value is TimelineViewMode.None

    TopTier

    Defines top tier setting in timeline.

    Declaration
    public GanttTimelineTierSettings TopTier { get; set; }
    Property Value
    Type Description
    GanttTimelineTierSettings

    The default value is null

    UpdateTimescaleView

    Enables or disables timeline auto update on editing action.

    Declaration
    public bool UpdateTimescaleView { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    WeekendBackground

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

    Declaration
    public string WeekendBackground { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    WeekStartDay

    Defines week start day in timeline.

    Declaration
    public double WeekStartDay { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 0

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