Class GanttHolidays
Configures gantt holidays collection.
Inheritance
System.Object
GanttHolidays
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public class GanttHolidays : ComponentBase
Constructors
GanttHolidays()
Declaration
public GanttHolidays()
Properties
Holidays
Gets or sets the list of holidays for the Gantt chart component.
Declaration
public List<GanttHoliday> Holidays { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<GanttHoliday> | A list of GanttHoliday objects representing the holidays for the chart. |
Remarks
This property is used to define the holidays for the Gantt chart. A GanttHoliday object represents a single holiday, which can have a start and end date, a label, and a custom CSS class. By default, this property is set to an empty list.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |