RadzenTimelineItem Class

RadzenTimeline item.

Inheritance

Object

ComponentBase

RadzenComponent

RadzenTimelineItem

Implements

IComponent

IHandleEvent

IHandleAfterRender

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class RadzenTimelineItem : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender

Examples

<RadzenTimelineItem PointStyle="PointStyle.Primary">
    <LabelContent>
        NOV 2022
    </LabelContent>
    <ChildContent>
        Celebrating the official release of Radzen Blazor Studio.
    </ChildContent>
</RadzenTimelineItem>

Constructors

RadzenTimelineItemlink

RadzenTimeline item.

Declaration
public RadzenTimelineItem()

Properties

ChildContentlink

Gets or sets the child content.

Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type Description
RenderFragmentGets or sets the child content.

Labellink

Gets or sets the label.

Declaration
public string Label { get; set; }
Property Value
Type Description
stringGets or sets the label.

LabelContentlink

Gets or sets the label content.

Declaration
public RenderFragment LabelContent { get; set; }
Property Value
Type Description
RenderFragmentGets or sets the label content.

PointContentlink

Gets or sets the content inside a point on the timeline.

Declaration
public RenderFragment PointContent { get; set; }
Property Value
Type Description
RenderFragmentGets or sets the content inside a point on the timeline.

PointShadowlink

Specifies the Shadow level from 0 (no shadow) to 10. Set to 1 by default.

Declaration
public int PointShadow { get; set; }
Property Value
Type Description
intSpecifies the Shadow level from 0 (no shadow) to 10. Set to 1 by default.

PointSizelink

Specifies the Point size from ExtraSmall to Large. Set to PointSize.Medium by default.

Declaration
public PointSize PointSize { get; set; }
Property Value
Type Description
PointSizeSpecifies the Point size from ExtraSmall to Large. Set to PointSize.Medium by default.

PointStylelink

Gets or sets the Point style. Set to PointStyle.Base by default.

Declaration
public PointStyle PointStyle { get; set; }
Property Value
Type Description
PointStyleGets or sets the Point style. Set to PointStyle.Base by default.

PointVariantlink

Specifies if the Point variant is filled, flat, outlined or text only. Set to Variant.Filled by default.

Declaration
public Variant PointVariant { get; set; }
Property Value
Type Description
VariantSpecifies if the Point variant is filled, flat, outlined or text only. Set to Variant.Filled by default.

Textlink

Gets or sets the text.

Declaration
public string Text { get; set; }
Property Value
Type Description
stringGets or sets the text.

Methods

BuildRenderTreelink

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder

GetComponentCssClasslink

Declaration
protected override string GetComponentCssClass()
Returns
Type Description
string
An error has occurred. This app may no longer respond until reloaded. Reload 🗙