menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GanttEventMarker - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GanttEventMarker

    Configure event marker.

    Inheritance
    System.Object
    GanttEventMarker
    Namespace: Syncfusion.Blazor.Gantt
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GanttEventMarker : OwningComponentBase

    Constructors

    GanttEventMarker()

    Declaration
    public GanttEventMarker()

    Properties

    CssClass

    Gets or sets the custom CSS class of Gantt EventMarker to customize background and label.

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

    A System.String value that represents the custom CSS class of the Gantt event marker.

    Remarks

    This property is used to define a custom CSS class for the Gantt event marker. The custom CSS class can be used to customize the background and label of the event marker. If the property is not set, the default CSS class will be used.

    Day

    Gets or sets the date of Gantt EventMarker.

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

    A System.DateTime value that represents the date of the Gantt event marker.

    Remarks

    This property is used to define the date of the Gantt event marker. The event marker will be displayed on the specified date.

    Label

    Gets or sets label of Gantt EventMarker.

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

    A System.String value that represents the label of the Gantt event marker.

    Remarks

    This property is used to define the label of the Gantt event marker. The label will be displayed on the event marker. If the property is not set, no label will be displayed.

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    Dispose(Boolean)

    Dispose unmanaged resources in the Syncfusion Blazor component.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Boolean value to dispose the object.

    OnInitializedAsync()

    Triggers during the initial rendering of the component.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    OnParametersSetAsync()

    Called by the framework when component parameters have been set. Executes logic that depends on the updated parameter values.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type
    System.Threading.Tasks.Task
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved