Table of Contents

Struct TimelineItem

Namespace
BlazOrbit.Components
Assembly
BlazOrbit.Core.dll

Single event consumed by BOBTimeline (BlazOrbit.Components.Navigation).

public readonly struct TimelineItem

Constructors

TimelineItem(DateTimeOffset, string, string?, IconKey?, string?)

Single event consumed by BOBTimeline (BlazOrbit.Components.Navigation).

public TimelineItem(DateTimeOffset Timestamp, string Title, string? Description = null, IconKey? Icon = null, string? Color = null)

Parameters

Timestamp DateTimeOffset

Event time. Used for sorting headers when grouping by date.

Title string

Primary line shown next to the marker.

Description string

Optional secondary text below the title.

Icon IconKey?

Optional icon rendered inside the marker dot.

Color string

Optional accent color applied to the marker. Accepts any valid CSS color value; falls back to the palette highlight when unset.

Properties

Color

Optional accent color applied to the marker. Accepts any valid CSS color value; falls back to the palette highlight when unset.

public string? Color { get; init; }

Property Value

string

Description

Optional secondary text below the title.

public string? Description { get; init; }

Property Value

string

Icon

Optional icon rendered inside the marker dot.

public IconKey? Icon { get; init; }

Property Value

IconKey?

Timestamp

Event time. Used for sorting headers when grouping by date.

public DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset

Title

Primary line shown next to the marker.

public string Title { get; init; }

Property Value

string