Class MudTimeline
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
Displays items in chronological order.
public class MudTimeline : MudBaseItemsControl<MudTimelineItem>, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
- Inheritance
-
MudTimeline
- Implements
- Inherited Members
- Extension Methods
Constructors
MudTimeline()
public MudTimeline()
Properties
Classnames
protected string Classnames { get; }
Property Value
Modifiers
Enables modifiers for items, such as adding a caret for a MudCard.
[Parameter]
[Category("Behavior")]
public bool Modifiers { get; set; }
Property Value
Remarks
Defaults to true.
Reverse
Reverses the order of items when TimelinePosition is Alternate.
[Parameter]
[Category("Behavior")]
public bool Reverse { get; set; }
Property Value
Remarks
Defaults to false.
RightToLeft
[CascadingParameter(Name = "RightToLeft")]
public bool RightToLeft { get; set; }
Property Value
TimelineAlign
The position of each item's dot relative to its text.
[Parameter]
[Category("Behavior")]
public TimelineAlign TimelineAlign { get; set; }
Property Value
Remarks
Defaults to Default.
TimelineOrientation
The orientation of the timeline and its items.
[Parameter]
[Category("Behavior")]
public TimelineOrientation TimelineOrientation { get; set; }
Property Value
Remarks
Defaults to Vertical.
When set to Vertical, TimelinePosition can be set to Left, Right, Alternate, Start, or End.
When set to Horizontal, TimelinePosition can be set to Top, Bottom, or Alternate.
TimelinePosition
The position the timeline and how its items are displayed.
[Parameter]
[Category("Behavior")]
public TimelinePosition TimelinePosition { get; set; }
Property Value
Remarks
Defaults to Alternate.
Can be set to Left, Right, Alternate, Start, or End when TimelineOrientation is Vertical.
Can be set to Top, Bottom, or Alternate when TimelineOrientation is Horizontal.
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder