Class GanttTaskbarSettings
Represents a class that handles Gantt taskbar interactions, including drag-and-drop functionality and support for multiple taskbars.
Inherited Members
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 |
|
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 |
|
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
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
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
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 |