API Reference
Class
ScheduleTimelineEvent
One event pill in a schedule timeline.
Inheritance
- Object
- ScheduleTimelineEvent
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Property ScheduleTimelineBlock.Events
- Method ScheduleTimelineEvent.AddAvatar
Constructors
public ScheduleTimelineEvent(String title, Double start, Double end, Int32 lane = 0, ChartColor? color = null, VisualStatus status = Neutral, String? badge = null, String[]? avatars = null) #Initializes a schedule event.
Parameters
- title System.String
- start System.Double
- end System.Double
- lane System.Int32 = 0
- color ChartForgeX.Primitives.ChartColor? = null
- status ChartForgeX.VisualBlocks.VisualStatus = Neutral
- badge System.String? = null
- avatars System.String[]? = null
Methods
public ScheduleTimelineEvent AddAvatar(String label) #Returns:
ScheduleTimelineEventAdds an avatar label.
Parameters
- label System.String
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public String Title { get; set; } #Gets or sets the event title.
public Double Start { get; set; } #Gets or sets the event start time as numeric hours.
public Double End { get; set; } #Gets or sets the event end time as numeric hours.
public Int32 Lane { get; set; } #Gets or sets the vertical lane index.
public ChartColor? Color { get; set; } #Gets or sets an optional event color.
public VisualStatus Status { get; set; } #Gets or sets semantic event status.
public String Badge { get; set; } #Gets or sets optional compact badge text.
public IReadOnlyList<String> Avatars { get; } #Gets compact avatar labels shown at the trailing edge of the event.