Class GanttEventMarkerBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
GanttEventMarkerBuilder
Namespace: Syncfusion.EJ2.Gantt
Assembly: Syncfusion.EJ2.dll
Syntax
public class GanttEventMarkerBuilder : ControlBuilder
Constructors
GanttEventMarkerBuilder()
Declaration
public GanttEventMarkerBuilder()
GanttEventMarkerBuilder(List<GanttEventMarker>)
Declaration
public GanttEventMarkerBuilder(List<GanttEventMarker> collection)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<GanttEventMarker> | collection |
Methods
Add()
Declaration
public void Add()
CssClass(String)
Specifies a custom CSS class for the event marker. This can be used to apply custom styles to the line and label of the marker.
Declaration
public GanttEventMarkerBuilder CssClass(string cssClass)
Parameters
Type | Name | Description |
---|---|---|
System.String | cssClass |
Returns
Day(String)
Specifies the date or day of the event marker.
The value can be a Date
object or a date string.
Declaration
public GanttEventMarkerBuilder Day(string day)
Parameters
Type | Name | Description |
---|---|---|
System.String | day |
Returns
Label(String)
Specifies the label for the event marker.
Declaration
public GanttEventMarkerBuilder Label(string label)
Parameters
Type | Name | Description |
---|---|---|
System.String | label |