alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class GanttLabelSettings<TValue>

    Configures Gantt Label settings.

    Inheritance
    object
    ComponentBase
    GanttLabelSettings<TValue>
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Gantt
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GanttLabelSettings<TValue> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
    Type Parameters
    Name Description
    TValue

    Specifies the type of GanttLabelSettings.

    Constructors

    GanttLabelSettings()

    Declaration
    public GanttLabelSettings()

    Properties

    LeftLabel

    Gets or sets left side label of the task.

    Declaration
    [Parameter]
    public string LeftLabel { get; set; }
    Property Value
    Type Description
    string

    A string representing the left side label of the task.

    Remarks

    This property is used to define the left side label of the task. The left side label typically displays information such as the task's name or start date. By default, this property is set to null.

    LeftLabelTemplate

    Gets or sets template for the left label.

    Declaration
    [Parameter]
    public RenderFragment<TValue> LeftLabelTemplate { get; set; }
    Property Value
    Type Description
    RenderFragment<TValue>

    A RenderFragment<TValue> that represents the template for the left label.

    Remarks

    This property allows the user to specify a custom template for the left label of the control. By default, the left label is null. The template should be specified as a RenderFragment<TValue>.

    RightLabel

    Gets or sets right side label of the task.

    Declaration
    [Parameter]
    public string RightLabel { get; set; }
    Property Value
    Type Description
    string

    A string representing the right side label of the task.

    Remarks

    This property is used to define the right side label of the task. The right side label typically displays information such as the task's end date or duration. By default, this property is set to null.

    RightLabelTemplate

    Gets or sets template for the right label.

    Declaration
    [Parameter]
    public RenderFragment<TValue> RightLabelTemplate { get; set; }
    Property Value
    Type Description
    RenderFragment<TValue>

    A RenderFragment<TValue> that represents the template for the right label.

    Remarks

    This property allows the user to specify a custom template for the right label of the control. By default, the right label is null. The template should be specified as a RenderFragment<TValue>.

    TaskLabel

    Defines the label which is displayed on the taskbar of the Gantt chart component.

    Declaration
    [Parameter]
    public string TaskLabel { get; set; }
    Property Value
    Type Description
    string

    The taskbar label to be displayed.

    Remarks

    This property is used to set the label that appears on the taskbar.

    TaskLabelTemplate

    Gets or sets template for the task label.

    Declaration
    [Parameter]
    public RenderFragment<TValue> TaskLabelTemplate { get; set; }
    Property Value
    Type Description
    RenderFragment<TValue>

    A RenderFragment<TValue> that represents the template for the task label.

    Remarks

    This property allows the user to specify a custom template for the task label of the control. By default, the task label is null. The template should be specified as a RenderFragment<TValue>.

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    OnInitializedAsync()

    Triggers during the initial rendering of the component.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    A Task representing the asynchronous operation.

    Overrides
    ComponentBase.OnInitializedAsync()

    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
    Task
    Overrides
    ComponentBase.OnParametersSetAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved