DeepWorks Studios Blazor Component Library

Demo user Administrator ยท Blazor Server Library 20261206222504-6e8ff32.dirty

DwsTimeline

The DwsTimeline component displays a sequence of events. It supports vertical or horizontal layouts, theming, icon customization, timestamps, expandable content, grouping, multi-column (parallel) layouts, progress indication, step navigation, item interaction events, and a data-driven mode via DwsDataTimeline<TItem>. With Layout="Waterfall" it becomes a trace view: nested spans as rows with duration bars and markers below a zoomable time axis, with status, lanes, selection, lazy children and virtualization. Its controls are the library's own: the zoom, pan and step buttons and the expand toggle are icon DwsButtons (44px on touch screens, where the zoom tools take a row of their own), the progress a DwsProgressBar, a loading row a DwsSpinner. A tap that selects an item, and the step buttons, play the Haptic feedback while haptics are on.

API Reference — DwsTimeline API Reference — DwsTimelineItem API Reference — DwsDataTimeline

Vertical Timeline (default)

The default vertical layout.

Project Kickoff

Initial planning and requirements gathering.

Development

Core feature implementation.

Release

Shipped to production.

Show Code
Timeline.razor

<DwsTimeline Name='TimelineDemo_Vertical'>
    <DwsTimelineItem Name='TimelineDemo_Vertical_Item1' Icon='bi bi-rocket-takeoff' Title='Project Kickoff' Description='Initial planning and requirements gathering.' />
    <DwsTimelineItem Name='TimelineDemo_Vertical_Item2' Icon='bi bi-tools' Title='Development' Description='Core feature implementation.' />
    <DwsTimelineItem Name='TimelineDemo_Vertical_Item3' Icon='bi bi-check-circle' Title='Release' Description='Shipped to production.' />
</DwsTimeline>

Alternating Layout

Align=Alternate zig-zags items left and right around a centered line.

Account created

1/2/2026

Welcome aboard!

Email verified

1/3/2026

Confirmed via email link.

First purchase

1/9/2026

Checkout in progress.

Loyalty tier reached

2/14/2026

Unlocked after 3 orders.

Show Code
Timeline.razor

<DwsTimeline Name='TimelineDemo_Alternate' Align='DwsTimelineAlign.Alternate' Color='DwsColor.Accent'>
    <DwsTimelineItem Name='TimelineDemo_Alternate_Item1' Icon='bi bi-person-plus' Title='Account created' Description='Welcome aboard!'
                      Timestamp='new DateTime(2026, 1, 2)' TimestampFormatType='DwsDateTimeFormatType.ShortDate' IsCompleted='true' />
    <DwsTimelineItem Name='TimelineDemo_Alternate_Item2' Icon='bi bi-envelope-check' Title='Email verified' Description='Confirmed via email link.'
                      Timestamp='new DateTime(2026, 1, 3)' TimestampFormatType='DwsDateTimeFormatType.ShortDate' IsCompleted='true' />
    <DwsTimelineItem Name='TimelineDemo_Alternate_Item3' Icon='bi bi-cart' Title='First purchase' Description='Checkout in progress.'
                      Timestamp='new DateTime(2026, 1, 9)' TimestampFormatType='DwsDateTimeFormatType.ShortDate' IsActive='true' />
    <DwsTimelineItem Name='TimelineDemo_Alternate_Item4' Icon='bi bi-star-fill' Title='Loyalty tier reached' Description='Unlocked after 3 orders.'
                      Timestamp='new DateTime(2026, 2, 14)' TimestampFormatType='DwsDateTimeFormatType.ShortDate' />
</DwsTimeline>

Horizontal Timeline

Lays items out left-to-right. Resize the window below ~576px to see it collapse back to a vertical layout for mobile.

Order Placed

Order received.

Packed

Ready for shipping.

Delivered

Order delivered.

Show Code
Timeline.razor

<DwsTimeline Name='TimelineDemo_Horizontal' Orientation='DwsLayoutOrientation.Horizontal' Color='DwsColor.Info'>
    <DwsTimelineItem Name='TimelineDemo_Horizontal_Item1' Icon='bi bi-1-circle' Title='Order Placed' Description='Order received.' />
    <DwsTimelineItem Name='TimelineDemo_Horizontal_Item2' Icon='bi bi-2-circle' Title='Packed' Description='Ready for shipping.' />
    <DwsTimelineItem Name='TimelineDemo_Horizontal_Item3' Icon='bi bi-3-circle' Title='Delivered' Description='Order delivered.' />
</DwsTimeline>

Theme Colors

Color sets the theme accent (spine, markers, progress bar) per DwsTimeline instance.

Primary

Success

Warning

Error

Show Code
Timeline.razor

<div class='d-flex gap-3 flex-wrap'>
    <DwsTimeline Name='TimelineDemo_Colors_Primary' Color='DwsColor.Primary'>
        <DwsTimelineItem Name='TimelineDemo_Colors_Primary_Item' Icon='bi bi-circle-fill' Title='Primary' Description='' IsCompleted='true' />
    </DwsTimeline>
    <DwsTimeline Name='TimelineDemo_Colors_Success' Color='DwsColor.Success'>
        <DwsTimelineItem Name='TimelineDemo_Colors_Success_Item' Icon='bi bi-circle-fill' Title='Success' Description='' IsCompleted='true' />
    </DwsTimeline>
    <DwsTimeline Name='TimelineDemo_Colors_Warning' Color='DwsColor.Warning'>
        <DwsTimelineItem Name='TimelineDemo_Colors_Warning_Item' Icon='bi bi-circle-fill' Title='Warning' Description='' IsCompleted='true' />
    </DwsTimeline>
    <DwsTimeline Name='TimelineDemo_Colors_Error' Color='DwsColor.Error'>
        <DwsTimelineItem Name='TimelineDemo_Colors_Error_Item' Icon='bi bi-circle-fill' Title='Error' Description='' IsCompleted='true' />
    </DwsTimeline>
</div>

Icon Position

IconPosition places the marker to the left (default) or to the right of the content.

Left icon (default)

IconPosition=Left.

Right icon

IconPosition=Right.

Show Code
Timeline.razor

<DwsTimeline Name='TimelineDemo_Icon'>
    <DwsTimelineItem Name='TimelineDemo_Icon_Item1' Icon='bi bi-star-fill' Title='Left icon (default)' Description='IconPosition=Left.' IconPosition='DwsTimelineIconPosition.Left' />
    <DwsTimelineItem Name='TimelineDemo_Icon_Item2' Icon='bi bi-star-fill' Title='Right icon' Description='IconPosition=Right.' IconPosition='DwsTimelineIconPosition.Right' />
</DwsTimeline>

Custom Icon Template

IconTemplate replaces the marker entirely with your own content, here a badge.

OK

Custom icon template

Overrides the icon entirely.

Show Code
Timeline.razor

<DwsTimeline Name='TimelineDemo_IconTemplate'>
    <DwsTimelineItem Name='TimelineDemo_Icon_Item3' Title='Custom icon template' Description='Overrides the icon entirely.'>
        <IconTemplate>
            <DwsBadge Name='TimelineDemo_Icon_Item3_Badge' Content='OK' Color='DwsColor.Success' />
        </IconTemplate>
    </DwsTimelineItem>
</DwsTimeline>

Timestamps

Culture-aware timestamps rendered next to the title.

Kickoff

Tuesday, January 6, 2026

Project started.

Beta

Saturday, March 14, 2026

Beta released.

Show Code
Timeline.razor

<DwsTimeline Name='TimelineDemo_Timestamp'>
    <DwsTimelineItem Name='TimelineDemo_Timestamp_Item1' Icon='bi bi-calendar-event' Title='Kickoff' Description='Project started.'
                      Timestamp='new DateTime(2026, 1, 6)' TimestampFormatType='DwsDateTimeFormatType.LongDate' />
    <DwsTimelineItem Name='TimelineDemo_Timestamp_Item2' Icon='bi bi-calendar-event' Title='Beta' Description='Beta released.'
                      Timestamp='new DateTime(2026, 3, 14)' TimestampFormatType='DwsDateTimeFormatType.LongDate' />
</DwsTimeline>

Grouped Timeline

Items sharing GroupName render a group header.

2026

Kickoff meeting

2026

Scope finalized

2025

Legacy migration

Show Code
Timeline.razor

<DwsTimeline Name='TimelineDemo_Grouped'>
    <DwsTimelineItem Name='TimelineDemo_Grouped_Item1' Icon='bi bi-dot' Title='Kickoff meeting' Description='' GroupName='2026' />
    <DwsTimelineItem Name='TimelineDemo_Grouped_Item2' Icon='bi bi-dot' Title='Scope finalized' Description='' GroupName='2026' />
    <DwsTimelineItem Name='TimelineDemo_Grouped_Item3' Icon='bi bi-dot' Title='Legacy migration' Description='' GroupName='2025' />
</DwsTimeline>

Parallel Timelines (Columns)

Multi-column layout for side-by-side timelines.

Team A

Milestone 1

Team B

Milestone 1

Team A

Milestone 2

Team B

Milestone 2

Show Code
Timeline.razor

<DwsTimeline Name='TimelineDemo_Columns' Columns='2'>
    <DwsTimelineItem Name='TimelineDemo_Columns_Item1' Icon='bi bi-person' Title='Team A' Description='Milestone 1' />
    <DwsTimelineItem Name='TimelineDemo_Columns_Item2' Icon='bi bi-people' Title='Team B' Description='Milestone 1' />
    <DwsTimelineItem Name='TimelineDemo_Columns_Item3' Icon='bi bi-person' Title='Team A' Description='Milestone 2' />
    <DwsTimelineItem Name='TimelineDemo_Columns_Item4' Icon='bi bi-people' Title='Team B' Description='Milestone 2' />
</DwsTimeline>

Progress Indicator

ShowProgress renders a progress bar above the items.

Step 1

Completed.

Step 2

Completed.

Step 3

In progress.

Show Code
Timeline.razor

<DwsTimeline Name='TimelineDemo_Progress' ShowProgress='true' ProgressPercentage='66'>
    <DwsTimelineItem Name='TimelineDemo_Progress_Item1' Icon='bi bi-check-lg' Title='Step 1' Description='Completed.' IsCompleted='true' />
    <DwsTimelineItem Name='TimelineDemo_Progress_Item2' Icon='bi bi-check-lg' Title='Step 2' Description='Completed.' IsCompleted='true' />
    <DwsTimelineItem Name='TimelineDemo_Progress_Item3' Icon='bi bi-clock-history' Title='Step 3' Description='In progress.' />
</DwsTimeline>

Data-Driven Timeline

DwsDataTimeline renders directly from a plain C# collection using field selectors.

Signed up

1/2/2026 12:00 AM

Account created

Verified email

1/3/2026 12:00 AM

Email confirmed

First purchase

1/9/2026 12:00 AM

Awaiting checkout

Show Code
Timeline.razor

<DwsDataTimeline TItem='TimelineDemoItem' Name='TimelineDemo_DataDriven' Items='@_dataItems'
                  TitleSelector='@(i => i.Title)' DescriptionSelector='@(i => i.Description)'
                  IconSelector='@(i => i.Icon)' TimestampSelector='@(i => (DateTime?)i.Timestamp)'
                  IsCompletedSelector='@(i => i.IsCompleted)' ShowProgress='true' />

@code {
    private record TimelineDemoItem(string Id, string Title, string Description, string Icon, DateTime Timestamp, bool IsCompleted);

    private readonly List<TimelineDemoItem> _dataItems =
    [
        new("signup", "Signed up", "Account created", "bi bi-person-plus", new DateTime(2026, 1, 2), true),
        new("verify", "Verified email", "Email confirmed", "bi bi-envelope-check", new DateTime(2026, 1, 3), true),
        new("purchase", "First purchase", "Awaiting checkout", "bi bi-cart", new DateTime(2026, 1, 9), false),
    ];
}

Custom Item Templates

ItemTemplate takes full control of per-item rendering, taking precedence over the field selectors.

Signed up

Done

Account created

Verified email

Done

Email confirmed

First purchase

Pending

Awaiting checkout

Show Code
Timeline.razor

<DwsDataTimeline TItem='TimelineDemoItem' Name='TimelineDemo_ItemTemplate' Items='@_dataItems' ShowProgress='true' IsCompletedSelector='@(i => i.IsCompleted)'>
    <ItemTemplate Context='item'>
        <DwsTimelineItem Name='@($"TimelineDemo_ItemTemplate_{item.Id}")' Icon='@item.Icon' Title='@item.Title'>
            <DwsBadge Name='@($"TimelineDemo_ItemTemplate_{item.Id}_Badge")' Content='@(item.IsCompleted ? "Done" : "Pending")' Color='@(item.IsCompleted ? DwsColor.Success : DwsColor.Secondary)' />
            <DwsTypography Name='@($"TimelineDemo_ItemTemplate_{item.Id}_Text")' Typography='DwsTypographyType.Paragraph' Class='mb-0'>@item.Description</DwsTypography>
        </DwsTimelineItem>
    </ItemTemplate>
</DwsDataTimeline>

@code {
    // Id keeps the item names stable; the titles are display text.
    private record TimelineDemoItem(string Id, string Title, string Description, string Icon, DateTime Timestamp, bool IsCompleted);

    private readonly List<TimelineDemoItem> _dataItems =
    [
        new("signup", "Signed up", "Account created", "bi bi-person-plus", new DateTime(2026, 1, 2), true),
        new("verify", "Verified email", "Email confirmed", "bi bi-envelope-check", new DateTime(2026, 1, 3), true),
        new("purchase", "First purchase", "Awaiting checkout", "bi bi-cart", new DateTime(2026, 1, 9), false),
    ];
}

Waterfall from Markup

Nested DwsTimelineItems are the hierarchy. Start and Duration are placed against RangeStart / RangeEnd; OffsetPercent and WidthPercent place a bar directly; an item with a Start and no Duration is a marker. SelectedKey is bound to the page.

OKshopPOST /checkoutweb-1200starts at 0 ms400 ms
OKinventoryreserve stockstarts at 20 ms120 ms
Runningpaymentscharge cardstarts at 150 ms230 ms
Retry after HTTP 502paymentsgateway retrystarts at 260 ms
Cancelledmailqueue confirmation mail24 ms (queued)
Show Code
Timeline.razor

<DwsTimeline Name='TimelineDemo_WaterfallDeclarative' Layout='DwsTimelineLayout.Waterfall' Color='DwsColor.Accent'
             RangeStart='@_traceStart' RangeEnd='@_traceStart.AddMilliseconds(400)'
             LabelWidth='300' @bind-SelectedKey='_declarativeSelectedKey'>
    <DwsTimelineItem Name='TimelineDemo_WaterfallDeclarative_Checkout' ItemKey='checkout' Title='POST /checkout'
                      Start='@_traceStart' Duration='@TimeSpan.FromMilliseconds(400)' Status='DwsTimelineItemStatus.Ok'
                      Lane='shop' Badges='@_declarativeBadgesShop' IsExpandable='true' IsExpanded='true'>
        <DwsTimelineItem Name='TimelineDemo_WaterfallDeclarative_Stock' ItemKey='stock' Title='reserve stock'
                          Start='@_traceStart.AddMilliseconds(20)' Duration='@TimeSpan.FromMilliseconds(120)' Status='DwsTimelineItemStatus.Ok'
                          Lane='inventory' />
        <DwsTimelineItem Name='TimelineDemo_WaterfallDeclarative_Payment' ItemKey='payment' Title='charge card'
                          Start='@_traceStart.AddMilliseconds(150)' Duration='@TimeSpan.FromMilliseconds(230)' Status='DwsTimelineItemStatus.Running'
                          Lane='payments' LaneColor='DwsColor.Warning' IsExpandable='true' IsExpanded='true'>
            <DwsTimelineItem Name='TimelineDemo_WaterfallDeclarative_Retry' ItemKey='retry' Title='gateway retry'
                              Start='@_traceStart.AddMilliseconds(260)' Status='DwsTimelineItemStatus.Failed' StatusText='Retry after HTTP 502'
                              Lane='payments' LaneColor='DwsColor.Warning' />
        </DwsTimelineItem>
        <DwsTimelineItem Name='TimelineDemo_WaterfallDeclarative_Mail' ItemKey='mail' Title='queue confirmation mail'
                          OffsetPercent='90' WidthPercent='6' DurationText='24 ms (queued)' Status='DwsTimelineItemStatus.Cancelled'
                          Lane='mail' />
    </DwsTimelineItem>
</DwsTimeline>
<DwsTypography Name="TimelineDemo_Text02" Typography="DwsTypographyType.Paragraph">Selected: @(_declarativeSelectedKey ?? "none")</DwsTypography>

@code {
    private static readonly DateTime _traceStart = new(2026, 3, 1, 9, 30, 0, DateTimeKind.Utc);
    private static readonly string[] _declarativeBadgesShop = ["web-1", "200"];
    private string? _declarativeSelectedKey;
}

Large Trace: Lanes and Virtualization

Virtualize renders only the rows near the visible part of the scrolling area, at a fixed RowHeight, so a trace of several hundred spans stays fast. GroupByLane groups the root spans under a header per service; the axis stays pinned while the rows scroll.

OKingestingest record 1starts at 0 s18 ms
OKingestingest record 5starts at 0.026 s54 ms
OKingestingest record 9starts at 0.052 s27 ms
OKingestingest record 13starts at 0.078 s63 ms
OKingestingest record 17starts at 0.104 s36 ms
OKingestingest record 21starts at 0.13 s72 ms
OKingestingest record 25starts at 0.156 s45 ms
OKingestingest record 29starts at 0.182 s18 ms
OKingestingest record 33starts at 0.208 s54 ms
Failedingestingest record 37starts at 0.234 s
OKingestingest record 41starts at 0.26 s63 ms
OKingestingest record 45starts at 0.286 s36 ms
OKingestingest record 49starts at 0.312 s72 ms
OKingestingest record 53starts at 0.338 s45 ms
OKingestingest record 57starts at 0.364 s18 ms
OKingestingest record 61starts at 0.39 s54 ms
OKingestingest record 65starts at 0.416 s27 ms
OKingestingest record 69starts at 0.442 s63 ms
OKingestingest record 73starts at 0.468 s36 ms
OKingestingest record 77starts at 0.494 s72 ms
OKingestingest record 81starts at 0.52 s45 ms
OKingestingest record 85starts at 0.546 s18 ms
OKingestingest record 89starts at 0.572 s54 ms
OKingestingest record 93starts at 0.598 s27 ms
OKingestingest record 97starts at 0.624 s63 ms
OKingestingest record 101starts at 0.65 s36 ms
OKingestingest record 105starts at 0.676 s72 ms
OKingestingest record 109starts at 0.702 s45 ms
OKingestingest record 113starts at 0.728 s18 ms
OKingestingest record 117starts at 0.754 s54 ms
OKingestingest record 121starts at 0.78 s27 ms
OKingestingest record 125starts at 0.806 s63 ms
OKingestingest record 129starts at 0.832 s36 ms
OKingestingest record 133starts at 0.858 s72 ms
OKingestingest record 137starts at 0.884 s45 ms
OKingestingest record 141starts at 0.91 s18 ms
OKingestingest record 145starts at 0.936 s54 ms
OKingestingest record 149starts at 0.962 s27 ms
OKingestingest record 153starts at 0.988 s63 ms
OKingestingest record 157starts at 1.014 s36 ms
OKingestingest record 161starts at 1.04 s72 ms
OKingestingest record 165starts at 1.066 s45 ms
OKingestingest record 169starts at 1.092 s18 ms
OKingestingest record 173starts at 1.118 s54 ms
OKingestingest record 177starts at 1.144 s27 ms
OKingestingest record 181starts at 1.17 s63 ms
Failedingestingest record 185starts at 1.196 s
OKingestingest record 189starts at 1.222 s72 ms
OKingestingest record 193starts at 1.248 s45 ms
OKingestingest record 197starts at 1.274 s18 ms
OKingestingest record 201starts at 1.3 s54 ms
OKingestingest record 205starts at 1.326 s27 ms
OKingestingest record 209starts at 1.352 s63 ms
OKingestingest record 213starts at 1.378 s36 ms
OKingestingest record 217starts at 1.404 s72 ms
OKingestingest record 221starts at 1.43 s45 ms
OKingestingest record 225starts at 1.456 s18 ms
OKingestingest record 229starts at 1.482 s54 ms
OKingestingest record 233starts at 1.508 s27 ms
OKingestingest record 237starts at 1.534 s63 ms
OKingestingest record 241starts at 1.56 s36 ms
OKingestingest record 245starts at 1.586 s72 ms
OKingestingest record 249starts at 1.612 s45 ms
OKingestingest record 253starts at 1.638 s18 ms
OKingestingest record 257starts at 1.664 s54 ms
OKingestingest record 261starts at 1.69 s27 ms
OKingestingest record 265starts at 1.716 s63 ms
OKingestingest record 269starts at 1.742 s36 ms
OKingestingest record 273starts at 1.768 s72 ms
OKingestingest record 277starts at 1.794 s45 ms
OKingestingest record 281starts at 1.82 s18 ms
OKingestingest record 285starts at 1.846 s54 ms
OKingestingest record 289starts at 1.872 s27 ms
OKingestingest record 293starts at 1.898 s63 ms
OKingestingest record 297starts at 1.924 s36 ms
OKingestingest record 301starts at 1.95 s72 ms
OKingestingest record 305starts at 1.976 s45 ms
OKingestingest record 309starts at 2.002 s18 ms
OKingestingest record 313starts at 2.028 s54 ms
OKingestingest record 317starts at 2.054 s27 ms
OKingestingest record 321starts at 2.08 s63 ms
OKingestingest record 325starts at 2.106 s36 ms
OKingestingest record 329starts at 2.132 s72 ms
Failedingestingest record 333starts at 2.158 s
OKingestingest record 337starts at 2.184 s18 ms
OKingestingest record 341starts at 2.21 s54 ms
OKingestingest record 345starts at 2.236 s27 ms
OKingestingest record 349starts at 2.262 s63 ms
OKingestingest record 353starts at 2.288 s36 ms
OKingestingest record 357starts at 2.314 s72 ms
OKingestingest record 361starts at 2.34 s45 ms
OKingestingest record 365starts at 2.366 s18 ms
OKingestingest record 369starts at 2.392 s54 ms
OKingestingest record 373starts at 2.418 s27 ms
OKingestingest record 377starts at 2.444 s63 ms
OKingestingest record 381starts at 2.47 s36 ms
OKingestingest record 385starts at 2.496 s72 ms
OKingestingest record 389starts at 2.522 s45 ms
OKingestingest record 393starts at 2.548 s18 ms
OKingestingest record 397starts at 2.574 s54 ms
OKingestingest record 401starts at 2.6 s27 ms
OKingestingest record 405starts at 2.626 s63 ms
OKingestingest record 409starts at 2.652 s36 ms
OKingestingest record 413starts at 2.678 s72 ms
OKingestingest record 417starts at 2.704 s45 ms
OKingestingest record 421starts at 2.73 s18 ms
OKingestingest record 425starts at 2.756 s54 ms
OKingestingest record 429starts at 2.782 s27 ms
OKingestingest record 433starts at 2.808 s63 ms
OKingestingest record 437starts at 2.834 s36 ms
OKingestingest record 441starts at 2.86 s72 ms
OKingestingest record 445starts at 2.886 s45 ms
OKingestingest record 449starts at 2.912 s18 ms
OKingestingest record 453starts at 2.938 s54 ms
OKingestingest record 457starts at 2.964 s27 ms
OKingestingest record 461starts at 2.99 s63 ms
OKingestingest record 465starts at 3.016 s36 ms
OKingestingest record 469starts at 3.042 s72 ms
OKingestingest record 473starts at 3.068 s45 ms
OKingestingest record 477starts at 3.094 s18 ms
OKtransformtransform record 2starts at 0.006 s27 ms
OKtransformtransform record 6starts at 0.032 s63 ms
OKtransformtransform record 10starts at 0.058 s36 ms
OKtransformtransform record 14starts at 0.084 s72 ms
OKtransformtransform record 18starts at 0.11 s45 ms
OKtransformtransform record 22starts at 0.136 s18 ms
OKtransformtransform record 26starts at 0.162 s54 ms
OKtransformtransform record 30starts at 0.188 s27 ms
OKtransformtransform record 34starts at 0.214 s63 ms
OKtransformtransform record 38starts at 0.24 s36 ms
OKtransformtransform record 42starts at 0.266 s72 ms
OKtransformtransform record 46starts at 0.292 s45 ms
OKtransformtransform record 50starts at 0.318 s18 ms
OKtransformtransform record 54starts at 0.344 s54 ms
OKtransformtransform record 58starts at 0.37 s27 ms
OKtransformtransform record 62starts at 0.396 s63 ms
OKtransformtransform record 66starts at 0.422 s36 ms
OKtransformtransform record 70starts at 0.448 s72 ms
Failedtransformtransform record 74starts at 0.474 s
OKtransformtransform record 78starts at 0.5 s18 ms
OKtransformtransform record 82starts at 0.526 s54 ms
OKtransformtransform record 86starts at 0.552 s27 ms
OKtransformtransform record 90starts at 0.578 s63 ms
OKtransformtransform record 94starts at 0.604 s36 ms
OKtransformtransform record 98starts at 0.63 s72 ms
OKtransformtransform record 102starts at 0.656 s45 ms
OKtransformtransform record 106starts at 0.682 s18 ms
OKtransformtransform record 110starts at 0.708 s54 ms
OKtransformtransform record 114starts at 0.734 s27 ms
OKtransformtransform record 118starts at 0.76 s63 ms
OKtransformtransform record 122starts at 0.786 s36 ms
OKtransformtransform record 126starts at 0.812 s72 ms
OKtransformtransform record 130starts at 0.838 s45 ms
OKtransformtransform record 134starts at 0.864 s18 ms
OKtransformtransform record 138starts at 0.89 s54 ms
OKtransformtransform record 142starts at 0.916 s27 ms
OKtransformtransform record 146starts at 0.942 s63 ms
OKtransformtransform record 150starts at 0.968 s36 ms
OKtransformtransform record 154starts at 0.994 s72 ms
OKtransformtransform record 158starts at 1.02 s45 ms
OKtransformtransform record 162starts at 1.046 s18 ms
OKtransformtransform record 166starts at 1.072 s54 ms
OKtransformtransform record 170starts at 1.098 s27 ms
OKtransformtransform record 174starts at 1.124 s63 ms
OKtransformtransform record 178starts at 1.15 s36 ms
OKtransformtransform record 182starts at 1.176 s72 ms
OKtransformtransform record 186starts at 1.202 s45 ms
OKtransformtransform record 190starts at 1.228 s18 ms
OKtransformtransform record 194starts at 1.254 s54 ms
OKtransformtransform record 198starts at 1.28 s27 ms
OKtransformtransform record 202starts at 1.306 s63 ms
OKtransformtransform record 206starts at 1.332 s36 ms
OKtransformtransform record 210starts at 1.358 s72 ms
OKtransformtransform record 214starts at 1.384 s45 ms
OKtransformtransform record 218starts at 1.41 s18 ms
Failedtransformtransform record 222starts at 1.436 s
OKtransformtransform record 226starts at 1.462 s27 ms
OKtransformtransform record 230starts at 1.488 s63 ms
OKtransformtransform record 234starts at 1.514 s36 ms
OKtransformtransform record 238starts at 1.54 s72 ms
OKtransformtransform record 242starts at 1.566 s45 ms
OKtransformtransform record 246starts at 1.592 s18 ms
OKtransformtransform record 250starts at 1.618 s54 ms
OKtransformtransform record 254starts at 1.644 s27 ms
OKtransformtransform record 258starts at 1.67 s63 ms
OKtransformtransform record 262starts at 1.696 s36 ms
OKtransformtransform record 266starts at 1.722 s72 ms
OKtransformtransform record 270starts at 1.748 s45 ms
OKtransformtransform record 274starts at 1.774 s18 ms
OKtransformtransform record 278starts at 1.8 s54 ms
OKtransformtransform record 282starts at 1.826 s27 ms
OKtransformtransform record 286starts at 1.852 s63 ms
OKtransformtransform record 290starts at 1.878 s36 ms
OKtransformtransform record 294starts at 1.904 s72 ms
OKtransformtransform record 298starts at 1.93 s45 ms
OKtransformtransform record 302starts at 1.956 s18 ms
OKtransformtransform record 306starts at 1.982 s54 ms
OKtransformtransform record 310starts at 2.009 s27 ms
OKtransformtransform record 314starts at 2.034 s63 ms
OKtransformtransform record 318starts at 2.06 s36 ms
OKtransformtransform record 322starts at 2.086 s72 ms
OKtransformtransform record 326starts at 2.112 s45 ms
OKtransformtransform record 330starts at 2.138 s18 ms
OKtransformtransform record 334starts at 2.164 s54 ms
OKtransformtransform record 338starts at 2.19 s27 ms
OKtransformtransform record 342starts at 2.216 s63 ms
OKtransformtransform record 346starts at 2.242 s36 ms
OKtransformtransform record 350starts at 2.268 s72 ms
OKtransformtransform record 354starts at 2.294 s45 ms
OKtransformtransform record 358starts at 2.32 s18 ms
OKtransformtransform record 362starts at 2.346 s54 ms
OKtransformtransform record 366starts at 2.372 s27 ms
Failedtransformtransform record 370starts at 2.398 s
OKtransformtransform record 374starts at 2.424 s36 ms
OKtransformtransform record 378starts at 2.45 s72 ms
OKtransformtransform record 382starts at 2.476 s45 ms
OKtransformtransform record 386starts at 2.502 s18 ms
OKtransformtransform record 390starts at 2.528 s54 ms
OKtransformtransform record 394starts at 2.554 s27 ms
OKtransformtransform record 398starts at 2.58 s63 ms
OKtransformtransform record 402starts at 2.606 s36 ms
OKtransformtransform record 406starts at 2.632 s72 ms
OKtransformtransform record 410starts at 2.658 s45 ms
OKtransformtransform record 414starts at 2.684 s18 ms
OKtransformtransform record 418starts at 2.71 s54 ms
OKtransformtransform record 422starts at 2.736 s27 ms
OKtransformtransform record 426starts at 2.762 s63 ms
OKtransformtransform record 430starts at 2.788 s36 ms
OKtransformtransform record 434starts at 2.814 s72 ms
OKtransformtransform record 438starts at 2.84 s45 ms
OKtransformtransform record 442starts at 2.866 s18 ms
OKtransformtransform record 446starts at 2.892 s54 ms
OKtransformtransform record 450starts at 2.918 s27 ms
OKtransformtransform record 454starts at 2.944 s63 ms
OKtransformtransform record 458starts at 2.97 s36 ms
OKtransformtransform record 462starts at 2.996 s72 ms
OKtransformtransform record 466starts at 3.022 s45 ms
OKtransformtransform record 470starts at 3.048 s18 ms
OKtransformtransform record 474starts at 3.074 s54 ms
OKtransformtransform record 478starts at 3.1 s27 ms
OKvalidatevalidate record 3starts at 0.013 s36 ms
OKvalidatevalidate record 7starts at 0.039 s72 ms
OKvalidatevalidate record 11starts at 0.065 s45 ms
OKvalidatevalidate record 15starts at 0.091 s18 ms
OKvalidatevalidate record 19starts at 0.117 s54 ms
OKvalidatevalidate record 23starts at 0.143 s27 ms
OKvalidatevalidate record 27starts at 0.169 s63 ms
OKvalidatevalidate record 31starts at 0.195 s36 ms
OKvalidatevalidate record 35starts at 0.221 s72 ms
OKvalidatevalidate record 39starts at 0.247 s45 ms
OKvalidatevalidate record 43starts at 0.273 s18 ms
OKvalidatevalidate record 47starts at 0.299 s54 ms
OKvalidatevalidate record 51starts at 0.325 s27 ms
OKvalidatevalidate record 55starts at 0.351 s63 ms
OKvalidatevalidate record 59starts at 0.377 s36 ms
OKvalidatevalidate record 63starts at 0.403 s72 ms
OKvalidatevalidate record 67starts at 0.429 s45 ms
OKvalidatevalidate record 71starts at 0.455 s18 ms
OKvalidatevalidate record 75starts at 0.481 s54 ms
OKvalidatevalidate record 79starts at 0.507 s27 ms
OKvalidatevalidate record 83starts at 0.533 s63 ms
OKvalidatevalidate record 87starts at 0.559 s36 ms
OKvalidatevalidate record 91starts at 0.585 s72 ms
OKvalidatevalidate record 95starts at 0.611 s45 ms
OKvalidatevalidate record 99starts at 0.637 s18 ms
OKvalidatevalidate record 103starts at 0.663 s54 ms
OKvalidatevalidate record 107starts at 0.689 s27 ms
Failedvalidatevalidate record 111starts at 0.715 s
OKvalidatevalidate record 115starts at 0.741 s36 ms
OKvalidatevalidate record 119starts at 0.767 s72 ms
OKvalidatevalidate record 123starts at 0.793 s45 ms
OKvalidatevalidate record 127starts at 0.819 s18 ms
OKvalidatevalidate record 131starts at 0.845 s54 ms
OKvalidatevalidate record 135starts at 0.871 s27 ms
OKvalidatevalidate record 139starts at 0.897 s63 ms
OKvalidatevalidate record 143starts at 0.923 s36 ms
OKvalidatevalidate record 147starts at 0.949 s72 ms
OKvalidatevalidate record 151starts at 0.975 s45 ms
OKvalidatevalidate record 155starts at 1.001 s18 ms
OKvalidatevalidate record 159starts at 1.027 s54 ms
OKvalidatevalidate record 163starts at 1.053 s27 ms
OKvalidatevalidate record 167starts at 1.079 s63 ms
OKvalidatevalidate record 171starts at 1.105 s36 ms
OKvalidatevalidate record 175starts at 1.131 s72 ms
OKvalidatevalidate record 179starts at 1.157 s45 ms
OKvalidatevalidate record 183starts at 1.183 s18 ms
OKvalidatevalidate record 187starts at 1.209 s54 ms
OKvalidatevalidate record 191starts at 1.235 s27 ms
OKvalidatevalidate record 195starts at 1.261 s63 ms
OKvalidatevalidate record 199starts at 1.287 s36 ms
OKvalidatevalidate record 203starts at 1.313 s72 ms
OKvalidatevalidate record 207starts at 1.339 s45 ms
OKvalidatevalidate record 211starts at 1.365 s18 ms
OKvalidatevalidate record 215starts at 1.391 s54 ms
OKvalidatevalidate record 219starts at 1.417 s27 ms
OKvalidatevalidate record 223starts at 1.443 s63 ms
OKvalidatevalidate record 227starts at 1.469 s36 ms
OKvalidatevalidate record 231starts at 1.495 s72 ms
OKvalidatevalidate record 235starts at 1.521 s45 ms
OKvalidatevalidate record 239starts at 1.547 s18 ms
OKvalidatevalidate record 243starts at 1.573 s54 ms
OKvalidatevalidate record 247starts at 1.599 s27 ms
OKvalidatevalidate record 251starts at 1.625 s63 ms
OKvalidatevalidate record 255starts at 1.651 s36 ms
Failedvalidatevalidate record 259starts at 1.677 s
OKvalidatevalidate record 263starts at 1.703 s45 ms
OKvalidatevalidate record 267starts at 1.729 s18 ms
OKvalidatevalidate record 271starts at 1.755 s54 ms
OKvalidatevalidate record 275starts at 1.781 s27 ms
OKvalidatevalidate record 279starts at 1.807 s63 ms
OKvalidatevalidate record 283starts at 1.833 s36 ms
OKvalidatevalidate record 287starts at 1.859 s72 ms
OKvalidatevalidate record 291starts at 1.885 s45 ms
OKvalidatevalidate record 295starts at 1.911 s18 ms
OKvalidatevalidate record 299starts at 1.937 s54 ms
OKvalidatevalidate record 303starts at 1.963 s27 ms
OKvalidatevalidate record 307starts at 1.989 s63 ms
OKvalidatevalidate record 311starts at 2.015 s36 ms
OKvalidatevalidate record 315starts at 2.041 s72 ms
OKvalidatevalidate record 319starts at 2.067 s45 ms
OKvalidatevalidate record 323starts at 2.093 s18 ms
OKvalidatevalidate record 327starts at 2.119 s54 ms
OKvalidatevalidate record 331starts at 2.145 s27 ms
OKvalidatevalidate record 335starts at 2.171 s63 ms
OKvalidatevalidate record 339starts at 2.197 s36 ms
OKvalidatevalidate record 343starts at 2.223 s72 ms
OKvalidatevalidate record 347starts at 2.249 s45 ms
OKvalidatevalidate record 351starts at 2.275 s18 ms
OKvalidatevalidate record 355starts at 2.301 s54 ms
OKvalidatevalidate record 359starts at 2.327 s27 ms
OKvalidatevalidate record 363starts at 2.353 s63 ms
OKvalidatevalidate record 367starts at 2.379 s36 ms
OKvalidatevalidate record 371starts at 2.405 s72 ms
OKvalidatevalidate record 375starts at 2.431 s45 ms
OKvalidatevalidate record 379starts at 2.457 s18 ms
OKvalidatevalidate record 383starts at 2.483 s54 ms
OKvalidatevalidate record 387starts at 2.509 s27 ms
OKvalidatevalidate record 391starts at 2.535 s63 ms
OKvalidatevalidate record 395starts at 2.561 s36 ms
OKvalidatevalidate record 399starts at 2.587 s72 ms
OKvalidatevalidate record 403starts at 2.613 s45 ms
Failedvalidatevalidate record 407starts at 2.639 s
OKvalidatevalidate record 411starts at 2.665 s54 ms
OKvalidatevalidate record 415starts at 2.691 s27 ms
OKvalidatevalidate record 419starts at 2.717 s63 ms
OKvalidatevalidate record 423starts at 2.743 s36 ms
OKvalidatevalidate record 427starts at 2.769 s72 ms
OKvalidatevalidate record 431starts at 2.795 s45 ms
OKvalidatevalidate record 435starts at 2.821 s18 ms
OKvalidatevalidate record 439starts at 2.847 s54 ms
OKvalidatevalidate record 443starts at 2.873 s27 ms
OKvalidatevalidate record 447starts at 2.899 s63 ms
OKvalidatevalidate record 451starts at 2.925 s36 ms
OKvalidatevalidate record 455starts at 2.951 s72 ms
OKvalidatevalidate record 459starts at 2.977 s45 ms
OKvalidatevalidate record 463starts at 3.003 s18 ms
OKvalidatevalidate record 467starts at 3.029 s54 ms
OKvalidatevalidate record 471starts at 3.055 s27 ms
OKvalidatevalidate record 475starts at 3.081 s63 ms
OKvalidatevalidate record 479starts at 3.107 s36 ms
OKstorestore record 4starts at 0.02 s45 ms
OKstorestore record 8starts at 0.046 s18 ms
OKstorestore record 12starts at 0.072 s54 ms
OKstorestore record 16starts at 0.098 s27 ms
OKstorestore record 20starts at 0.124 s63 ms
OKstorestore record 24starts at 0.15 s36 ms
OKstorestore record 28starts at 0.176 s72 ms
OKstorestore record 32starts at 0.202 s45 ms
OKstorestore record 36starts at 0.228 s18 ms
OKstorestore record 40starts at 0.254 s54 ms
OKstorestore record 44starts at 0.28 s27 ms
OKstorestore record 48starts at 0.306 s63 ms
OKstorestore record 52starts at 0.332 s36 ms
OKstorestore record 56starts at 0.358 s72 ms
OKstorestore record 60starts at 0.384 s45 ms
OKstorestore record 64starts at 0.41 s18 ms
OKstorestore record 68starts at 0.436 s54 ms
OKstorestore record 72starts at 0.462 s27 ms
OKstorestore record 76starts at 0.488 s63 ms
OKstorestore record 80starts at 0.514 s36 ms
OKstorestore record 84starts at 0.54 s72 ms
OKstorestore record 88starts at 0.566 s45 ms
OKstorestore record 92starts at 0.592 s18 ms
OKstorestore record 96starts at 0.618 s54 ms
OKstorestore record 100starts at 0.644 s27 ms
OKstorestore record 104starts at 0.67 s63 ms
OKstorestore record 108starts at 0.696 s36 ms
OKstorestore record 112starts at 0.722 s72 ms
OKstorestore record 116starts at 0.748 s45 ms
OKstorestore record 120starts at 0.774 s18 ms
OKstorestore record 124starts at 0.8 s54 ms
OKstorestore record 128starts at 0.826 s27 ms
OKstorestore record 132starts at 0.852 s63 ms
OKstorestore record 136starts at 0.878 s36 ms
OKstorestore record 140starts at 0.904 s72 ms
OKstorestore record 144starts at 0.93 s45 ms
Failedstorestore record 148starts at 0.956 s
OKstorestore record 152starts at 0.982 s54 ms
OKstorestore record 156starts at 1.008 s27 ms
OKstorestore record 160starts at 1.034 s63 ms
OKstorestore record 164starts at 1.06 s36 ms
OKstorestore record 168starts at 1.086 s72 ms
OKstorestore record 172starts at 1.112 s45 ms
OKstorestore record 176starts at 1.138 s18 ms
OKstorestore record 180starts at 1.164 s54 ms
OKstorestore record 184starts at 1.19 s27 ms
OKstorestore record 188starts at 1.216 s63 ms
OKstorestore record 192starts at 1.242 s36 ms
OKstorestore record 196starts at 1.268 s72 ms
OKstorestore record 200starts at 1.294 s45 ms
OKstorestore record 204starts at 1.32 s18 ms
OKstorestore record 208starts at 1.346 s54 ms
OKstorestore record 212starts at 1.372 s27 ms
OKstorestore record 216starts at 1.398 s63 ms
OKstorestore record 220starts at 1.424 s36 ms
OKstorestore record 224starts at 1.45 s72 ms
OKstorestore record 228starts at 1.476 s45 ms
OKstorestore record 232starts at 1.502 s18 ms
OKstorestore record 236starts at 1.528 s54 ms
OKstorestore record 240starts at 1.554 s27 ms
OKstorestore record 244starts at 1.58 s63 ms
OKstorestore record 248starts at 1.606 s36 ms
OKstorestore record 252starts at 1.632 s72 ms
OKstorestore record 256starts at 1.658 s45 ms
OKstorestore record 260starts at 1.684 s18 ms
OKstorestore record 264starts at 1.71 s54 ms
OKstorestore record 268starts at 1.736 s27 ms
OKstorestore record 272starts at 1.762 s63 ms
OKstorestore record 276starts at 1.788 s36 ms
OKstorestore record 280starts at 1.814 s72 ms
OKstorestore record 284starts at 1.84 s45 ms
OKstorestore record 288starts at 1.866 s18 ms
OKstorestore record 292starts at 1.892 s54 ms
Failedstorestore record 296starts at 1.918 s
OKstorestore record 300starts at 1.944 s63 ms
OKstorestore record 304starts at 1.97 s36 ms
OKstorestore record 308starts at 1.996 s72 ms
OKstorestore record 312starts at 2.022 s45 ms
OKstorestore record 316starts at 2.047 s18 ms
OKstorestore record 320starts at 2.074 s54 ms
OKstorestore record 324starts at 2.1 s27 ms
OKstorestore record 328starts at 2.126 s63 ms
OKstorestore record 332starts at 2.152 s36 ms
OKstorestore record 336starts at 2.178 s72 ms
OKstorestore record 340starts at 2.204 s45 ms
OKstorestore record 344starts at 2.23 s18 ms
OKstorestore record 348starts at 2.256 s54 ms
OKstorestore record 352starts at 2.282 s27 ms
OKstorestore record 356starts at 2.308 s63 ms
OKstorestore record 360starts at 2.334 s36 ms
OKstorestore record 364starts at 2.36 s72 ms
OKstorestore record 368starts at 2.386 s45 ms
OKstorestore record 372starts at 2.412 s18 ms
OKstorestore record 376starts at 2.438 s54 ms
OKstorestore record 380starts at 2.464 s27 ms
OKstorestore record 384starts at 2.49 s63 ms
OKstorestore record 388starts at 2.516 s36 ms
OKstorestore record 392starts at 2.542 s72 ms
OKstorestore record 396starts at 2.568 s45 ms
OKstorestore record 400starts at 2.594 s18 ms
OKstorestore record 404starts at 2.62 s54 ms
OKstorestore record 408starts at 2.646 s27 ms
OKstorestore record 412starts at 2.672 s63 ms
OKstorestore record 416starts at 2.698 s36 ms
OKstorestore record 420starts at 2.724 s72 ms
OKstorestore record 424starts at 2.75 s45 ms
OKstorestore record 428starts at 2.776 s18 ms
OKstorestore record 432starts at 2.802 s54 ms
OKstorestore record 436starts at 2.828 s27 ms
OKstorestore record 440starts at 2.854 s63 ms
Failedstorestore record 444starts at 2.88 s
OKstorestore record 448starts at 2.906 s72 ms
OKstorestore record 452starts at 2.932 s45 ms
OKstorestore record 456starts at 2.958 s18 ms
OKstorestore record 460starts at 2.984 s54 ms
OKstorestore record 464starts at 3.01 s27 ms
OKstorestore record 468starts at 3.036 s63 ms
OKstorestore record 472starts at 3.062 s36 ms
OKstorestore record 476starts at 3.088 s72 ms
OKstorestore record 480starts at 3.114 s45 ms
Show Code
Timeline.razor

<DwsDataTimeline TItem='TraceSpan' Name='TimelineDemo_Virtualized' Items='@_largeTrace'
                  Layout='DwsTimelineLayout.Waterfall' AriaLabel='Batch trace with 480 spans'
                  KeySelector='@SpanKey' TitleSelector='@(s => s.Name)'
                  StartSelector='@SpanStart' DurationSelector='@SpanDuration' StatusSelector='@(s => s.Status)'
                  LaneSelector='@(s => s.Service)' GroupByLane='true'
                  Virtualize='true' RowHeight='28' MaxHeight='320' Selectable='true' />

@code {
    // 480 spans over four services. A span that failed gets a marker for its error.
    private readonly List<TraceSpan> _largeTrace = BuildLargeTrace();

    private static List<TraceSpan> BuildLargeTrace()
    {
        string[] services = ["ingest", "transform", "validate", "store"];
        List<TraceSpan> spans = [];

        for (int i = 0; i < 480; i++)
        {
            bool failed = i % 37 == 36;

            spans.Add(new TraceSpan
            {
                Id = $"batch-{i}", Name = $"{services[i % 4]} record {i + 1}", Service = services[i % 4], Node = $"worker-{i % 3 + 1}",
                Status = failed ? DwsTimelineItemStatus.Failed : DwsTimelineItemStatus.Ok,
                OffsetMs = i * 6.5, DurationMs = failed ? null : 18 + i % 7 * 9
            });
        }

        return spans;
    }
}

Interface-Description

Name Typ Parameters Description
ZoomInAsync Task Halves the visible time range around its centre.
ZoomOutAsync Task Doubles the visible time range, up to the whole range.
ResetZoomAsync Task Shows the whole range again.
PanAsync(double visibleRangeShare) Task Moves the visible range by a share of its own length: negative earlier, positive later.
SetVisibleRangeAsync(DateTime? start, DateTime? end) Task Shows the given part of the range; a null end stands for that end of the whole range.
Name Typ Default Description
ChildContent RenderFragment? null One or more DwsTimelineItem components to render inside the timeline.
Orientation DwsLayoutOrientation Vertical Vertical stacks items top-to-bottom; Horizontal lays them out left-to-right (collapses to vertical on small screens).
Align DwsTimelineAlign Start Start keeps a single left-aligned column; Alternate zig-zags items left/right around a centered line. Vertical orientation only.
Color DwsColor Primary Theme color used for the spine, markers and progress bar.
Columns int 1 Number of parallel columns for side-by-side timelines.
ShowProgress bool false Shows a progress bar above the items.
ProgressPercentage double 0 Progress value between 0 and 100.
EnableStepNavigation bool false Renders Next/Previous buttons for stepping through the timeline.
CurrentStepIndex int 0 Current step index. Supports two-way binding via @bind-CurrentStepIndex.
StepCount int 0 Total number of steps, used to disable Next at the end. 0 = unbounded.
Layout DwsTimelineLayout List List is the classic timeline of cards along a spine. Waterfall is a trace view: compact rows with a label column and a time track below a shared axis.
RangeStart DateTime? null Start of the time range the bars are placed in. Null: the earliest Start of the rendered items.
RangeEnd DateTime? null End of the time range. Null: the latest end (Start + Duration) of the rendered items. Set both ends when items are collapsed or virtualized.
VisibleRangeStart DateTime? null Start of the zoomed-in part of the range; null shows it from its start. Supports two-way binding via @bind-VisibleRangeStart.
VisibleRangeEnd DateTime? null End of the zoomed-in part of the range; null shows it up to its end. Supports two-way binding via @bind-VisibleRangeEnd.
ShowAxis bool true Waterfall: shows the time axis. Its labels use µs, ms, s, min or h, chosen from the visible range.
ShowZoomControls bool true Waterfall: shows the zoom in, zoom out, earlier, later and reset buttons.
EnableRangeSelection bool true Waterfall: dragging over the axis zooms into the dragged range; a double click shows everything.
AxisTickCount int 5 Roughly how many tick labels the axis shows (2 to 20).
MinBarWidth double? null Smallest width of a duration bar in pixels, so a very short span stays visible. Default 2.
LabelWidth double? null Waterfall: width of the label column in pixels. Default: 40% of the timeline, between 160 and 420 px.
RowHeight double? null Waterfall: height of one row in pixels. Default 32.
IndentSize double? null Indentation per nesting level in pixels. Default 16.
Height double? null Height of the scrolling item area in pixels.
MaxHeight double? null Maximum height of the scrolling item area in pixels. The axis stays pinned while the items scroll.
Selectable bool false Items can be selected with a click, Enter or Space. Implied by @bind-SelectedKey. The timeline then is one tab stop that the arrow keys move.
SelectedKey string? null The ItemKey of the selected item (an item without one uses its Name). Supports two-way binding via @bind-SelectedKey.
AriaLabel string? null Accessible name of the item tree (Waterfall layout and selectable timelines). Defaults to a localised 'Timeline'.
Haptic DwsHapticFeedback DwsHapticFeedback.Selection Touch feedback (IDwsHapticService, while the app has haptics on) when a tap selects an item and when the step buttons change the step. None switches it off.
Name Typ Description
CurrentStepIndexChanged EventCallback<int> Fired when the step index changes. Used by @bind-CurrentStepIndex.
OnStepChanged EventCallback<int> Fired when the user navigates to a different step.
VisibleRangeStartChanged EventCallback<DateTime?> Fired when zooming or panning moved the start of the visible range. Used by @bind-VisibleRangeStart.
VisibleRangeEndChanged EventCallback<DateTime?> Fired when zooming or panning moved the end of the visible range. Used by @bind-VisibleRangeEnd.
SelectedKeyChanged EventCallback<string?> Fired when the user selects an item. Used by @bind-SelectedKey.
Name Typ Default Description
Element ElementReference The associated web component. May be null if accessed before the component is rendered.
ComponentGuid Guid Unique identifier for the component.
TypeString string The name of the component type, obtained from reflection.
Authorized_RegisterEnabled bool false Indicates whether this component is enabled through a permission registry.
Authorized_RegisterSelected bool false Indicates whether this component is selected in permission selection mode.
GetInitializedState bool false Returns whether the component is initialized.
GetRenderModeState DwsRenderMode Returns the current render mode.
GetComponentState DwsComponentStateType Returns the current component state.
GetIsInteractiveState bool false Returns whether the component is interactive.
GetIsPrerenderingState bool false Returns whether the component is prerendering.
GetComponentLoadingState bool false Returns whether the component is loading.
IsFormBusy bool false Whether the DwsForm (or DwsFormBusyRegion) around the component is locked because its submit handler is running. The state itself is the cascaded FormBusyState (IDwsFormBusyState).
Name Typ Parameters Description
DebugInfo void Logs debug information about the component.
UpdateState void Updates the component's state and triggers StateHasChanged.
UpdateStateAsync Task Asynchronously updates the component's state and triggers StateHasChanged.
Dispose void Disposes the component and releases resources.
FocusAsync ValueTask bool containedInScrollableList Sets focus to the component's element.
Name Typ Default Description
Name string Required unique identifier for the component within its container.
Visible bool true Determines if the component is visible in the UI.
Disabled bool false Disables the form control, ensuring it doesn't participate in form submission.
ComponentNameSpace string The namespace for permission-based access control.
PermissionKey string? null A stable key that takes the place of Name in the generated permission namespace (Page.PermissionKey): the stored permission survives a rename, and components that share a key share one permission entry. Null: keyed by Name. Read once, when the component registers; an explicit ComponentNameSpace wins.
Class string Optional CSS class names.
Style string Optional in-line styles.
Tag object An optional user-defined object to store any additional data with the component.
BackReference DwsReference A reference to the enclosing component.
ID string The HTML ID attribute for the component.
AdditionalAttributes Dictionary<string, object> Additional HTML attributes for the component's root element.
IgnorePermissionChecks bool false Bypasses all permission checks for this component.
IgnorePermissionSelection bool false Ignore permission selection mode for this component.
IgnoreFormBusy bool false Takes the component out of the submit lock of the DwsForm (or DwsFormBusyRegion) around it: IsFormBusy stays false for it.
Name Typ Description
OnInitializedCallbackStarted EventCallback Callback when OnInitialized starts.
OnInitializedCallback EventCallback Callback during OnInitialized.
OnInitializedCallbackCompleted EventCallback Callback when OnInitialized completes.
OnInitializedAsyncCallbackStarted EventCallback Callback when OnInitializedAsync starts.
OnInitializedAsyncCallback EventCallback Callback during OnInitializedAsync.
OnInitializedAsyncCallbackCompleted EventCallback Callback when OnInitializedAsync completes.
OnIsComponentLoadingChanged EventCallback<bool> Callback when IsComponentLoading changes.
OnCurrentRenderModeChanged EventCallback<DwsRenderMode> Callback when CurrentRenderMode changes.
OnComponentStateChanged EventCallback<DwsComponentStateType> Callback when ComponentState changes.

Interface-Description

Name Typ Default Description
Icon string "bi bi-calendar-event" CSS icon class rendered in the marker.
Title string string.Empty Item title.
Description string string.Empty Item description.
ChildContent RenderFragment? null Content below the description, and nested DwsTimelineItems, which become the item's children (hidden while collapsed if IsExpandable).
Color DwsColor Undefined Overrides the parent DwsTimeline.Color for this item's marker.
IconPosition DwsTimelineIconPosition Left Position of the marker: Left, Right or Top.
IconTemplate RenderFragment? null Custom marker content, overrides Icon.
Timestamp DateTime? null Optional date/time displayed next to the title.
TimestampFormatType DwsDateTimeFormatType Short Format used to render Timestamp.
TimestampCustomFormat string? null Custom format string, used when TimestampFormatType is CustomFormat.
IsExpandable bool false Shows a toggle button; ChildContent is only rendered while IsExpanded is true.
IsExpanded bool false Whether the item is expanded. Supports two-way binding via @bind-IsExpanded.
IsActive bool false Highlights the item as the current step. Not needed with EnableStepNavigation: the timeline marks the current step itself.
StepIndex int? null The item's step number for EnableStepNavigation (0-based). Not set: its position among the timeline's top-level items.
IsCompleted bool false Marks the item as completed for progress/step visuals.
GroupName string? null Items sharing the same group render a group header above them.
ItemKey string? null Identifies the item for DwsTimeline.SelectedKey. Defaults to Name.
Level int? null Nesting depth (0 = root). Null follows the markup: an item inside another item's ChildContent is one level deeper.
IsLoading bool false Shows a loading indicator in place of the toggle, while the item's children are being fetched.
Start DateTime? null When the item starts: places its bar against the timeline's range in the Waterfall layout. With no Duration and no WidthPercent the item is a point marker.
Duration TimeSpan? null How long the item takes: the length of its bar, and the source of DurationText.
OffsetPercent double? null Start of the bar in percent of the whole range (0 to 100). Wins over Start.
WidthPercent double? null Length of the bar in percent of the whole range (0 to 100). Wins over Duration.
DurationText string? null The duration as text. Null formats it from Duration (350 µs, 12.5 ms, 1.25 s) with localised units.
Status DwsTimelineItemStatus Undefined Ok, Failed, Cancelled or Running: an icon with a text alternative and a theme colour.
StatusText string? null Replaces the localised name of Status as its text alternative.
Badges IEnumerable<string>? null Short texts shown as badges next to the title: a service, a node, a status code.
BadgeContent RenderFragment? null Custom badge content, rendered after Badges.
Lane string? null The lane (service, node) the item belongs to. Items of one lane share a colour.
LaneColor DwsColor Undefined The lane's colour. Undefined picks one of eight theme-derived lane colours from the lane's name, so a lane keeps its colour.
Name Typ Description
OnItemClick EventCallback<MouseEventArgs> Fired when the item is clicked.
OnItemHover EventCallback<MouseEventArgs> Fired when the mouse hovers over the item.
OnItemFocus EventCallback<FocusEventArgs> Fired when the item receives keyboard focus.
IsExpandedChanged EventCallback<bool> Fired when the expanded state changes. Used by @bind-IsExpanded.
Name Typ Default Description
Element ElementReference The associated web component. May be null if accessed before the component is rendered.
ComponentGuid Guid Unique identifier for the component.
TypeString string The name of the component type, obtained from reflection.
Authorized_RegisterEnabled bool false Indicates whether this component is enabled through a permission registry.
Authorized_RegisterSelected bool false Indicates whether this component is selected in permission selection mode.
GetInitializedState bool false Returns whether the component is initialized.
GetRenderModeState DwsRenderMode Returns the current render mode.
GetComponentState DwsComponentStateType Returns the current component state.
GetIsInteractiveState bool false Returns whether the component is interactive.
GetIsPrerenderingState bool false Returns whether the component is prerendering.
GetComponentLoadingState bool false Returns whether the component is loading.
IsFormBusy bool false Whether the DwsForm (or DwsFormBusyRegion) around the component is locked because its submit handler is running. The state itself is the cascaded FormBusyState (IDwsFormBusyState).
Name Typ Parameters Description
DebugInfo void Logs debug information about the component.
UpdateState void Updates the component's state and triggers StateHasChanged.
UpdateStateAsync Task Asynchronously updates the component's state and triggers StateHasChanged.
Dispose void Disposes the component and releases resources.
FocusAsync ValueTask bool containedInScrollableList Sets focus to the component's element.
Name Typ Default Description
Name string Required unique identifier for the component within its container.
Visible bool true Determines if the component is visible in the UI.
Disabled bool false Disables the form control, ensuring it doesn't participate in form submission.
ComponentNameSpace string The namespace for permission-based access control.
PermissionKey string? null A stable key that takes the place of Name in the generated permission namespace (Page.PermissionKey): the stored permission survives a rename, and components that share a key share one permission entry. Null: keyed by Name. Read once, when the component registers; an explicit ComponentNameSpace wins.
Class string Optional CSS class names.
Style string Optional in-line styles.
Tag object An optional user-defined object to store any additional data with the component.
BackReference DwsReference A reference to the enclosing component.
ID string The HTML ID attribute for the component.
AdditionalAttributes Dictionary<string, object> Additional HTML attributes for the component's root element.
IgnorePermissionChecks bool false Bypasses all permission checks for this component.
IgnorePermissionSelection bool false Ignore permission selection mode for this component.
IgnoreFormBusy bool false Takes the component out of the submit lock of the DwsForm (or DwsFormBusyRegion) around it: IsFormBusy stays false for it.
Name Typ Description
OnInitializedCallbackStarted EventCallback Callback when OnInitialized starts.
OnInitializedCallback EventCallback Callback during OnInitialized.
OnInitializedCallbackCompleted EventCallback Callback when OnInitialized completes.
OnInitializedAsyncCallbackStarted EventCallback Callback when OnInitializedAsync starts.
OnInitializedAsyncCallback EventCallback Callback during OnInitializedAsync.
OnInitializedAsyncCallbackCompleted EventCallback Callback when OnInitializedAsync completes.
OnIsComponentLoadingChanged EventCallback<bool> Callback when IsComponentLoading changes.
OnCurrentRenderModeChanged EventCallback<DwsRenderMode> Callback when CurrentRenderMode changes.
OnComponentStateChanged EventCallback<DwsComponentStateType> Callback when ComponentState changes.

Interface-Description

Name Typ Parameters Description
GetExpandedKeys IReadOnlyCollection<object> The keys of the expanded items.
ExpandAllAsync Task Expands every loaded item that has children.
CollapseAllAsync Task Collapses every item.
Name Typ Default Description
Items IEnumerable<TItem> required The root items to render. Replaces ItemsSource.
KeySelector Func<TItem, object>? null Identity of an item: the key of ExpandedKeys, of the selection and of the rendered row. Without it the item itself is the key.
TitleSelector Func<TItem, string>? null Maps an item to its title.
DescriptionSelector Func<TItem, string>? null Maps an item to its description.
IconSelector Func<TItem, string>? null Maps an item to its marker icon class.
TimestampSelector Func<TItem, DateTime?>? null Maps an item to its timestamp.
GroupSelector Func<TItem, string?>? null Maps an item to its group name.
IsActiveSelector Func<TItem, bool>? null Maps an item to its active state.
IsCompletedSelector Func<TItem, bool>? null Maps an item to its completed state, also used to auto-compute ShowProgress's percentage.
ItemTemplate RenderFragment<TItem>? null Full override of per-item rendering: render one DwsTimelineItem in it. That item still gets the row's click, hover, active state, group header, level, expansion, selection key, timing, status and lane.
DetailTemplate RenderFragment<TItem>? null Body of an item, shown below its description. Makes the item expandable. Not rendered while Virtualize is on.
ChildrenSelector Func<TItem, IEnumerable<TItem>?>? null The children of an item. Makes the timeline a tree: child rows are indented below their parent.
HasChildrenSelector Func<TItem, bool>? null Whether an item whose children are not there yet has any, so it gets a toggle.
ChildrenLoader Func<TItem, Task<IEnumerable<TItem>>>? null Fetches the children of an item the first time it is expanded; the row shows a loading indicator meanwhile. A failed load is tried again on the next expand.
ExpandedKeys IReadOnlyCollection<object>? null The keys of the expanded items. Supports two-way binding via @bind-ExpandedKeys. Null leaves the state to the component.
DefaultExpanded bool false Items with children start expanded. Applied once, and only while ExpandedKeys is null.
StartSelector Func<TItem, DateTime?>? null When an item starts. With no duration the item is a point marker on the axis.
DurationSelector Func<TItem, TimeSpan?>? null How long an item takes.
OffsetPercentSelector Func<TItem, double?>? null Start of an item's bar in percent of the whole range, instead of StartSelector.
WidthPercentSelector Func<TItem, double?>? null Length of an item's bar in percent of the whole range, instead of DurationSelector.
DurationTextSelector Func<TItem, string?>? null The duration as text. Null formats it from the duration.
StatusSelector Func<TItem, DwsTimelineItemStatus>? null Maps an item to its status.
BadgesSelector Func<TItem, IEnumerable<string>?>? null Short texts shown as badges: a service, a node, a status code.
BadgeTemplate RenderFragment<TItem>? null Custom badge content per item, rendered after the BadgesSelector texts.
LaneSelector Func<TItem, string?>? null The lane (service, node) of an item. Items of one lane share a colour.
LaneColorSelector Func<TItem, DwsColor>? null The colour of an item's lane. Undefined (or no selector) picks a theme-derived colour from the lane's name.
GroupByLane bool false Groups the root items by lane, in the order the lanes first appear, with a header per lane.
SelectedItem TItem? null The selected item. Supports two-way binding via @bind-SelectedItem.
Selectable bool false Items can be selected. Implied by @bind-SelectedItem.
Virtualize bool false Renders only the rows in and around the visible part of the scrolling area (DwsVirtualize). Meant for the Waterfall layout with several hundred rows; every row then has the height RowHeight.
OverscanCount int 8 Rows rendered beyond each edge of the visible area while Virtualize is on.
Layout DwsTimelineLayout List Forwarded to the underlying DwsTimeline.
RangeStart DateTime? null Start of the time range. Null derives it from every loaded item, collapsed ones included.
RangeEnd DateTime? null End of the time range. Null derives it from every loaded item, collapsed ones included.
VisibleRangeStart DateTime? null Forwarded to the underlying DwsTimeline. Supports two-way binding.
VisibleRangeEnd DateTime? null Forwarded to the underlying DwsTimeline. Supports two-way binding.
ShowAxis bool true Forwarded to the underlying DwsTimeline.
ShowZoomControls bool true Forwarded to the underlying DwsTimeline.
EnableRangeSelection bool true Forwarded to the underlying DwsTimeline.
AxisTickCount int 5 Forwarded to the underlying DwsTimeline.
MinBarWidth double? null Forwarded to the underlying DwsTimeline.
LabelWidth double? null Forwarded to the underlying DwsTimeline.
RowHeight double? null Height of one row in pixels (default 32 in the Waterfall layout). With Virtualize it is also the row height the virtualizer calculates with.
IndentSize double? null Forwarded to the underlying DwsTimeline.
Height double? null Forwarded to the underlying DwsTimeline.
MaxHeight double? null Maximum height of the scrolling item area in pixels. With Virtualize and no height at all, 480.
AriaLabel string? null Forwarded to the underlying DwsTimeline.
Haptic DwsHapticFeedback DwsHapticFeedback.Selection Forwarded to the underlying DwsTimeline.
Orientation DwsLayoutOrientation Vertical Forwarded to the underlying DwsTimeline.
Align DwsTimelineAlign Start Forwarded to the underlying DwsTimeline.
Color DwsColor Primary Forwarded to the underlying DwsTimeline.
Columns int 1 Forwarded to the underlying DwsTimeline.
ShowProgress bool false Forwarded to the underlying DwsTimeline; percentage is computed from IsCompletedSelector.
EnableStepNavigation bool false Forwarded to the underlying DwsTimeline.
CurrentStepIndex int 0 Forwarded to the underlying DwsTimeline. Supports two-way binding.
Name Typ Description
OnItemClick EventCallback<TItem> Fired with the source item when it is clicked.
OnItemHover EventCallback<TItem> Fired with the source item when it is hovered.
CurrentStepIndexChanged EventCallback<int> Fired when the step index changes. Used by @bind-CurrentStepIndex.
ExpandedKeysChanged EventCallback<IReadOnlyCollection<object>> Fired with the new set of expanded keys. Used by @bind-ExpandedKeys.
OnExpand EventCallback<TItem> Fired before an item expands (and before ChildrenLoader runs).
OnCollapse EventCallback<TItem> Fired after an item collapsed.
SelectedItemChanged EventCallback<TItem?> Fired when the user selects an item. Used by @bind-SelectedItem.
VisibleRangeStartChanged EventCallback<DateTime?> Fired when zooming or panning moved the start of the visible range.
VisibleRangeEndChanged EventCallback<DateTime?> Fired when zooming or panning moved the end of the visible range.
Name Typ Default Description
Element ElementReference The associated web component. May be null if accessed before the component is rendered.
ComponentGuid Guid Unique identifier for the component.
TypeString string The name of the component type, obtained from reflection.
Authorized_RegisterEnabled bool false Indicates whether this component is enabled through a permission registry.
Authorized_RegisterSelected bool false Indicates whether this component is selected in permission selection mode.
GetInitializedState bool false Returns whether the component is initialized.
GetRenderModeState DwsRenderMode Returns the current render mode.
GetComponentState DwsComponentStateType Returns the current component state.
GetIsInteractiveState bool false Returns whether the component is interactive.
GetIsPrerenderingState bool false Returns whether the component is prerendering.
GetComponentLoadingState bool false Returns whether the component is loading.
IsFormBusy bool false Whether the DwsForm (or DwsFormBusyRegion) around the component is locked because its submit handler is running. The state itself is the cascaded FormBusyState (IDwsFormBusyState).
Name Typ Parameters Description
DebugInfo void Logs debug information about the component.
UpdateState void Updates the component's state and triggers StateHasChanged.
UpdateStateAsync Task Asynchronously updates the component's state and triggers StateHasChanged.
Dispose void Disposes the component and releases resources.
FocusAsync ValueTask bool containedInScrollableList Sets focus to the component's element.
Name Typ Default Description
Name string Required unique identifier for the component within its container.
Visible bool true Determines if the component is visible in the UI.
Disabled bool false Disables the form control, ensuring it doesn't participate in form submission.
ComponentNameSpace string The namespace for permission-based access control.
PermissionKey string? null A stable key that takes the place of Name in the generated permission namespace (Page.PermissionKey): the stored permission survives a rename, and components that share a key share one permission entry. Null: keyed by Name. Read once, when the component registers; an explicit ComponentNameSpace wins.
Class string Optional CSS class names.
Style string Optional in-line styles.
Tag object An optional user-defined object to store any additional data with the component.
BackReference DwsReference A reference to the enclosing component.
ID string The HTML ID attribute for the component.
AdditionalAttributes Dictionary<string, object> Additional HTML attributes for the component's root element.
IgnorePermissionChecks bool false Bypasses all permission checks for this component.
IgnorePermissionSelection bool false Ignore permission selection mode for this component.
IgnoreFormBusy bool false Takes the component out of the submit lock of the DwsForm (or DwsFormBusyRegion) around it: IsFormBusy stays false for it.
Name Typ Description
OnInitializedCallbackStarted EventCallback Callback when OnInitialized starts.
OnInitializedCallback EventCallback Callback during OnInitialized.
OnInitializedCallbackCompleted EventCallback Callback when OnInitialized completes.
OnInitializedAsyncCallbackStarted EventCallback Callback when OnInitializedAsync starts.
OnInitializedAsyncCallback EventCallback Callback during OnInitializedAsync.
OnInitializedAsyncCallbackCompleted EventCallback Callback when OnInitializedAsync completes.
OnIsComponentLoadingChanged EventCallback<bool> Callback when IsComponentLoading changes.
OnCurrentRenderModeChanged EventCallback<DwsRenderMode> Callback when CurrentRenderMode changes.
OnComponentStateChanged EventCallback<DwsComponentStateType> Callback when ComponentState changes.
An error has occurred. This app may no longer respond until reloaded.