Class TimelineItemContext
Represents the context of Template, Content and OppositeContent which is used to render the content of the item.
Inheritance
System.Object
TimelineItemContext
Namespace: Syncfusion.Blazor.Layouts
Assembly: Syncfusion.Blazor.dll
Syntax
public class TimelineItemContext : Object
Constructors
TimelineItemContext()
Declaration
public TimelineItemContext()
Properties
Item
Gets the item data associated with the rendered timeline item.
Declaration
public TimelineItem Item { get; set; }
Property Value
Type | Description |
---|---|
TimelineItem | An SfTimeline to the current item element that is being rendered. |
ItemIndex
Gets the index of the rendered current item.
Declaration
public int ItemIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | It represents the index of the rendered item. |