Class GanttTemplates<TValue>
Configures Gantt Chart templates.
Inheritance
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public class GanttTemplates<TValue> : OwningComponentBase
Type Parameters
| Name | Description |
|---|---|
| TValue | Specifies the type of GanttTemplates. |
Constructors
GanttTemplates()
Declaration
public GanttTemplates()
Properties
BaselineMilestoneTemplate
Gets or sets the template used to customize the baseline milestone element.
Declaration
public RenderFragment<object> BaselineMilestoneTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Components.RenderFragment<System.Object> | A Microsoft.AspNetCore.Components.RenderFragment<> that represents the template used to customize the baseline milestone element. The default value is |
Remarks
This property allows you to customize the appearance of the baseline milestone element by providing a template.
The template must be of type Microsoft.AspNetCore.Components.RenderFragment<> and should accept an object parameter to be used in rendering the baseline milestone element.
If this property is set to null, the default template for the baseline milestone element is used.
BaselineTemplate
Gets or sets the template used to customize the baseline element.
Declaration
public RenderFragment<object> BaselineTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Components.RenderFragment<System.Object> | A Microsoft.AspNetCore.Components.RenderFragment<> that represents the template used to customize the baseline element. The default value is |
Remarks
This property allows you to customize the appearance of the baseline element by providing a template.
The template must be of type Microsoft.AspNetCore.Components.RenderFragment<> and should accept an object parameter to be used in rendering the baseline element.
If this property is set to null, the default template for the baseline element is used.
ChildContent
Gets or sets the child content to be rendered inside the component.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Components.RenderFragment | A Microsoft.AspNetCore.Components.RenderFragment that represents the child content to be rendered inside the component. |
Remarks
This property allows you to define and render child content inside a component.
Pass any HTML, Razor or component-based content to this property.
To render the child content, you can use the @ChildContent razor directive in the component's markup.
ManualTaskbarTemplate
Gets or sets the template used to customize the manual taskbar element.
Declaration
public RenderFragment<object> ManualTaskbarTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Components.RenderFragment<System.Object> | A Microsoft.AspNetCore.Components.RenderFragment<> that represents the template used to customize the manual taskbar element. The default value is |
Remarks
This property allows you to customize the appearance of a manual taskbar element by providing a template.
The template must be of type Microsoft.AspNetCore.Components.RenderFragment<> and should accept an object parameter to be used in rendering the manual taskbar element.
If this property is set to null, the default template for the manual taskbar element is used.
MilestoneTemplate
Gets or sets the template used to customize the milestone element.
Declaration
public RenderFragment<object> MilestoneTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Components.RenderFragment<System.Object> | A Microsoft.AspNetCore.Components.RenderFragment<> that represents the template used to customize the milestone element. The default value is |
Remarks
This property allows you to customize the appearance of a milestone element by providing a template.
The template must be of type Microsoft.AspNetCore.Components.RenderFragment<> and should accept an object parameter to be used in rendering the milestone element.
If this property is set to null, the default template for the milestone element is used.
ParentTaskbarTemplate
Gets or sets the template used to customize the parent taskbar element.
Declaration
public RenderFragment<object> ParentTaskbarTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Components.RenderFragment<System.Object> | A Microsoft.AspNetCore.Components.RenderFragment<> that represents the template used to customize the parent taskbar element. The default value is |
Remarks
This property allows you to customize the parent taskbar element by providing a template.
The template must be of type Microsoft.AspNetCore.Components.RenderFragment<> and should accept an object parameter to be used in rendering the parent taskbar element.
If this property is set to null, the default template for the parent taskbar element is used.
RowTemplate
Gets or sets the template used to customize the row element.
Declaration
public RenderFragment<TValue> RowTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Components.RenderFragment<TValue> | A Microsoft.AspNetCore.Components.RenderFragment<> that represents the template used to customize the row element. The default value is |
Remarks
This property allows you to customize the appearance of a row element by providing a template.
The template must be of type Microsoft.AspNetCore.Components.RenderFragment<> and should accept a parameter of the same type as the data item being rendered in the row.
If this property is set to null, the default template for the row element is used.
TaskbarTemplate
Gets or sets the template used to customize the taskbar element.
Declaration
public RenderFragment<object> TaskbarTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Components.RenderFragment<System.Object> | A Microsoft.AspNetCore.Components.RenderFragment<> that represents the template used to customize the taskbar element. The default value is |
Remarks
This property allows you to customize the appearance of a taskbar element by providing a template.
The template must be of type Microsoft.AspNetCore.Components.RenderFragment<> and should accept an object parameter to be used in rendering the taskbar element.
If this property is set to null, the default template for the taskbar element is used.
Methods
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. |