You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Displays a vertical sequence of events along a connecting axis line. Supports four layout modes, custom icons, and five severity types.
Basic usage
<Timeline>
<TimelineItemHeader="Project started"Content="Initial commit pushed to repository."Time="{x:Static sys:DateTime.Now}" />
<TimelineItemHeader="Beta release"Content="First public beta available for testing."Type="Success" />
<TimelineItemHeader="Critical bug found"Content="Memory leak in the rendering pipeline."Type="Error" />
</Timeline>
Timeline properties
Property
Type
Default
Description
Mode
TimelineDisplayMode
Left
How items are positioned relative to the axis
TimeFormat
string?
"yyyy-MM-dd HH:mm:ss"
Format string applied to each item's Time
IconMemberBinding
BindingBase?
—
Binding path for the icon when using ItemsSource
HeaderMemberBinding
BindingBase?
—
Binding path for the header
ContentMemberBinding
BindingBase?
—
Binding path for the content
TimeMemberBinding
BindingBase?
—
Binding path for the timestamp
IconTemplate
IDataTemplate?
—
Data template for the icon node
DescriptionTemplate
IDataTemplate?
—
Data template for the content area
TimelineDisplayMode values
Value
Description
Left
Content on the right, axis on the left
Right
Content on the left, axis on the right
Center
Axis in the center, time on the left, content on the right
Alternate
Items alternate left/right of the axis
TimelineItem properties
Property
Type
Default
Description
Header
object?
—
Title shown above the content
Content
object?
—
Body content of the event
Time
DateTime
—
Timestamp displayed next to the item
TimeFormat
string?
inherited
Override the format string for this item
Type
TimelineItemType
Default
Visual severity / style of the icon node
Position
TimelineItemPosition
Left
Overrides the item's position (set automatically by Timeline.Mode)