alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class GanttTaskbarSettings

    Represents a class that handles Gantt taskbar interactions, including drag-and-drop functionality and support for multiple taskbars.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    GanttTaskbarSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    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()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Gantt
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GanttTaskbarSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    GanttTaskbarSettings()

    Declaration
    public GanttTaskbarSettings()

    Properties

    AllowTaskbarDragAndDrop

    Gets or sets a value indicating whether users can drag and drop taskbars between resources in the Resource View of the Gantt Chart.

    Declaration
    [Parameter]
    public bool AllowTaskbarDragAndDrop { get; set; }
    Property Value
    Type Description
    bool

    true if taskbar drag and drop is enabled; otherwise, false. The default value is false.

    Remarks

    Users can reassign tasks to resources and change the timeline of the tasks while performing drag and drop operations.

    EnableMultiTaskbar

    Gets or sets a value indicating whether multiple taskbars can be displayed in the parent chart row.

    Declaration
    [Parameter]
    public bool EnableMultiTaskbar { get; set; }
    Property Value
    Type Description
    bool

    true if multiple taskbars are enabled; otherwise, false. The default value is false.

    Remarks

    Multiple taskbars can be displayed only in the ResourceView ViewType of the Gantt Chart.

    Methods

    BuildRenderTree(RenderTreeBuilder)

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

    Dispose(bool)

    Dispose unmanaged resources in the Syncfusion Blazor component.

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

    Boolean value to dispose the object.

    Overrides
    OwningComponentBase.Dispose(bool)

    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
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved