menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class GanttEventMarkerBuilder

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

    Constructors

    GanttEventMarkerBuilder()

    Declaration
    public GanttEventMarkerBuilder()

    GanttEventMarkerBuilder(List<GanttEventMarker>)

    Declaration
    public GanttEventMarkerBuilder(List<GanttEventMarker> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<GanttEventMarker> collection

    Methods

    Add()

    Declaration
    public void Add()

    CssClass(String)

    Specifies a custom CSS class for the event marker. This can be used to apply custom styles to the line and label of the marker.

    Declaration
    public GanttEventMarkerBuilder CssClass(string cssClass)
    Parameters
    Type Name Description
    System.String cssClass
    Returns
    Type
    GanttEventMarkerBuilder

    Day(String)

    Specifies the date or day of the event marker. The value can be a Date object or a date string.

    Declaration
    public GanttEventMarkerBuilder Day(string day)
    Parameters
    Type Name Description
    System.String day
    Returns
    Type
    GanttEventMarkerBuilder

    Label(String)

    Specifies the label for the event marker.

    Declaration
    public GanttEventMarkerBuilder Label(string label)
    Parameters
    Type Name Description
    System.String label
    Returns
    Type
    GanttEventMarkerBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved