alexa
menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class GanttEventMarker

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

    Constructors

    GanttEventMarker()

    Declaration
    public GanttEventMarker()

    Properties

    CssClass

    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 string CssClass { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Day

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

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

    The default value is null

    Label

    Specifies the label for the event marker.

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

    The default value is null

    Top

    Vertical offset of the label from the timeline top. Must be in pixels (e.g., '50px'). Invalid values default to '50px'. Negative values are normalized to '50px'.

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

    The default value is "50px"

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