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
TimestampDateTimeOffsetEvent time. Used for sorting headers when grouping by date.
TitlestringPrimary line shown next to the marker.
DescriptionstringOptional secondary text below the title.
IconIconKey?Optional icon rendered inside the marker dot.
ColorstringOptional 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
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