Class GanttLabelSettings<TValue>
Configures Gantt Label settings.
Inheritance
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public class GanttLabelSettings<TValue> : ComponentBase
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
public string LeftLabel { get; set; }
Property Value
Type | Description |
---|---|
System.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
public RenderFragment<TValue> LeftLabelTemplate { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment<TValue> | A Microsoft.AspNetCore.Components.RenderFragment<> 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 Microsoft.AspNetCore.Components.RenderFragment<>.
RightLabel
Gets or sets right side label of the task.
Declaration
public string RightLabel { get; set; }
Property Value
Type | Description |
---|---|
System.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
public RenderFragment<TValue> RightLabelTemplate { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment<TValue> | A Microsoft.AspNetCore.Components.RenderFragment<> 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 Microsoft.AspNetCore.Components.RenderFragment<>.
TaskLabel
Defines the label which is displayed on the taskbar of the Gantt chart component.
Declaration
public string TaskLabel { get; set; }
Property Value
Type | Description |
---|---|
System.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
public RenderFragment<TValue> TaskLabelTemplate { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment<TValue> | A Microsoft.AspNetCore.Components.RenderFragment<> 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 Microsoft.AspNetCore.Components.RenderFragment<>.
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 |
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |