Class RadzenTimelineItem
RadzenTimeline item.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenTimelineItem : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Examples
<RadzenTimelineItem PointStyle="PointStyle.Primary">
<LabelContent>
NOV 2022
</LabelContent>
<ChildContent>
Celebrating the official release of Radzen Blazor Studio.
</ChildContent>
</RadzenTimelineItem>
Constructors
RadzenTimelineItem()
RadzenTimeline item.
Declaration
public RadzenTimelineItem()
Examples
<RadzenTimelineItem PointStyle="PointStyle.Primary">
<LabelContent>
NOV 2022
</LabelContent>
<ChildContent>
Celebrating the official release of Radzen Blazor Studio.
</ChildContent>
</RadzenTimelineItem>
Properties
ChildContent
Gets or sets the child content.
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment |
Label
Gets or sets the label.
Declaration
[Parameter]
public string Label { get; set; }
Property Value
Type | Description |
---|---|
string |
LabelContent
Gets or sets the label content.
Declaration
[Parameter]
public RenderFragment LabelContent { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment |
PointContent
Gets or sets the content inside a point on the timeline.
Declaration
[Parameter]
public RenderFragment PointContent { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment |
PointShadow
Specifies the Shadow level from 0
(no shadow) to 10
. Set to 1
by default.
Declaration
[Parameter]
public int PointShadow { get; set; }
Property Value
Type | Description |
---|---|
int |
PointSize
Specifies the Point size from ExtraSmall to Large. Set to PointSize.Medium
by default.
Declaration
[Parameter]
public PointSize PointSize { get; set; }
Property Value
Type | Description |
---|---|
PointSize |
PointStyle
Gets or sets the Point style. Set to PointStyle.Base
by default.
Declaration
[Parameter]
public PointStyle PointStyle { get; set; }
Property Value
Type | Description |
---|---|
PointStyle |
PointVariant
Specifies if the Point variant is filled, flat, outlined or text only. Set to Variant.Filled
by default.
Declaration
[Parameter]
public Variant PointVariant { get; set; }
Property Value
Type | Description |
---|---|
Variant |
Text
Gets or sets the text.
Declaration
[Parameter]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
BuildRenderTree(RenderTreeBuilder)
RadzenTimeline item.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
RenderTreeBuilder | __builder |
Overrides
GetComponentCssClass()
Gets the component CSS class.
Declaration
protected override string GetComponentCssClass()
Returns
Type | Description |
---|---|
string |