Class GanttEventMarker
Configure event marker.
Inheritance
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public class GanttEventMarker : OwningComponentBase
Constructors
GanttEventMarker()
Declaration
public GanttEventMarker()
Properties
CssClass
Gets or sets the custom CSS class of Gantt EventMarker to customize background and label.
Declaration
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String value that represents the custom CSS class of the Gantt event marker. |
Remarks
This property is used to define a custom CSS class for the Gantt event marker. The custom CSS class can be used to customize the background and label of the event marker. If the property is not set, the default CSS class will be used.
Day
Gets or sets the date of Gantt EventMarker.
Declaration
public DateTime Day { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | A System.DateTime value that represents the date of the Gantt event marker. |
Remarks
This property is used to define the date of the Gantt event marker. The event marker will be displayed on the specified date.
Label
Gets or sets label of Gantt EventMarker.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String value that represents the label of the Gantt event marker. |
Remarks
This property is used to define the label of the Gantt event marker. The label will be displayed on the event marker. If the property is not set, no label will be displayed.
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()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |