Class GanttEventMarkerBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
GanttEventMarkerBuilder
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
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 |
|
Returns
Top(String)
Vertical offset of the label from the timeline top.
Must be in pixels (e.g., '50px'). Invalid values default to '50px'.
Negative values are normalized to '50px'.
Declaration
public GanttEventMarkerBuilder Top(string top)
Parameters
| Type |
Name |
Description |
| System.String |
top |
|
Returns