menu

Blazor

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

    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
    System.Object
    GanttTaskbarSettings
    Namespace: Syncfusion.Blazor.Gantt
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GanttTaskbarSettings : OwningComponentBase

    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
    public bool AllowTaskbarDragAndDrop { get; set; }
    Property Value
    Type Description
    System.Boolean

    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
    public bool EnableMultiTaskbar { get; set; }
    Property Value
    Type Description
    System.Boolean

    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
    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