# ScheduleTimelineEvent

One event pill in a schedule timeline. Review signatures, members, parameters, type relationships, and available reference details in ChartForgeX API reference.

 Class  

`ChartForgeX.VisualBlocks`

**Namespace**

`ChartForgeX.VisualBlocks`

**Assembly**

`ChartForgeX.Visuals`

**Source**

[ScheduleTimelineBlock.cs:56](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/ScheduleTimelineBlock.cs#L56)

**Modifiers**

sealed

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](/api/chartforgex-visualblocks-scheduletimelineblock/#property-events)
- Method [ScheduleTimelineEvent.AddAvatar](/api/chartforgex-visualblocks-scheduletimelineevent/#method-addavatar-string)

 Filter members   

    Show inherited   

 

## Constructors

 `public ScheduleTimelineEvent(string title, double start, double end, int lane = 0, ChartColor? color = null, Tone? tone = null, string? badge = null, string[]? avatars = null)` [#](#constructor-ctor-string-double-double-int32-nullable-chartforgex-primitives-chartcolor-nullable-chartforgex-tone-string-string) 

[ScheduleTimelineBlock.cs:56](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/ScheduleTimelineBlock.cs#L56)

Initializes a schedule event.

Parameters

**title string required**

**start double required**

**end double required**

**lane int = 0 optional**

**color ChartForgeX.Primitives.ChartColor? = null optional**

**tone ChartForgeX.Tone? = null optional**

**badge string? = null optional**

**avatars string[]? = null optional**

## Methods

 `public ScheduleTimelineEvent AddAvatar(string label)` [#](#method-addavatar-string) 

[ScheduleTimelineBlock.cs:98](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/ScheduleTimelineBlock.cs#L98)

Adds an avatar label.

Parameters

**label string required**

Returns

 `ScheduleTimelineEvent` 

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public string Title { get; set; }` [#](#property-title) 

[ScheduleTimelineBlock.cs:73](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/ScheduleTimelineBlock.cs#L73)

Gets or sets the event title.

 `public double Start { get; set; }` [#](#property-start) 

[ScheduleTimelineBlock.cs:76](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/ScheduleTimelineBlock.cs#L76)

Gets or sets the event start time as numeric hours.

 `public double End { get; set; }` [#](#property-end) 

[ScheduleTimelineBlock.cs:79](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/ScheduleTimelineBlock.cs#L79)

Gets or sets the event end time as numeric hours.

 `public int Lane { get; set; }` [#](#property-lane) 

[ScheduleTimelineBlock.cs:82](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/ScheduleTimelineBlock.cs#L82)

Gets or sets the vertical lane index.

 `public ChartColor? Color { get; set; }` [#](#property-color) 

[ScheduleTimelineBlock.cs:85](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/ScheduleTimelineBlock.cs#L85)

Gets or sets an optional event color.

 `public Tone Tone { get; set; }` [#](#property-tone) 

[ScheduleTimelineBlock.cs:88](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/ScheduleTimelineBlock.cs#L88)

Gets or sets semantic event status.

 `public string Badge { get; set; }` [#](#property-badge) 

[ScheduleTimelineBlock.cs:91](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/ScheduleTimelineBlock.cs#L91)

Gets or sets optional compact badge text.

 `public IReadOnlyList<string> Avatars { get; }` [#](#property-avatars) 

[ScheduleTimelineBlock.cs:94](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualBlocks/ScheduleTimelineBlock.cs#L94)

Gets compact avatar labels shown at the trailing edge of the event.

<!-- PowerForge markdown artifact sha256:8EB6B839684FB2CD438AF87211FDDED111E462C54357CBB6D403FE9E674272B8 -->
