TimelineItem
Represents an item in the RadTimeline control, containing data such as date, title, description, actions, and images.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class TimelineItem : StateManager, IMarkableStateManager, IStateManager, IAttributeAccessor
Inheritance: objectStateManagerTimelineItem
Implements:
Inherited Members
Constructors
Initializes a new instance of the TimelineItem class.
public TimelineItem()
Initializes a new instance of the TimelineItem class.
Initializes a new instance of the TimelineItem class.
Properties
Gets or set the Actions of the current TimelineItem
[PersistenceMode(PersistenceMode.InnerProperty)]
public virtual TimelineItemActionsCollection Actions { get; }
[Browsable(false)]
public Dictionary<string, string> Attributes { get; set; }
Gets or set the DataItem of the current TimelineItem
[Browsable(false)]
public object DataItem { get; set; }
Gets or set the Date of the current TimelineItem
public virtual DateTime Date { get; set; }
Gets or set the Description of the current TimelineItem
public virtual string Description { get; set; }
[Browsable(false)]
[Themeable(false)]
[Bindable(false)]
public bool HasAttributes { get; }
Gets or set the Images of the current TimelineItem
[PersistenceMode(PersistenceMode.InnerProperty)]
public virtual TimelineItemImagesCollection Images { get; }
Gets the RadTimeline which this item belongs to.
[Browsable(false)]
public RadTimeline Owner { get; set; }
The RadTimeline which this item belongs to; null (Nothing) if the item is not added to any RadTimeline control.
Gets or set the Subtitle of the current TimelineItem
public virtual string Subtitle { get; set; }
Gets or set the Title of the current TimelineItem
public virtual string Title { get; set; }
Gets or sets a value indicating whether this TimelineItem is visible.
public bool Visible { get; set; }
true if visible; otherwise, false.
Methods
Compares the current instance with another object of the same type.
public int CompareTo(object obj)
An object to compare with this instance.
Returns:A 32-bit signed integer that indicates the relative order of the objects
being compared. The return value has these meanings: Value Meaning Less than
zero This instance is less than obj. Zero This instance is
equal to obj. Greater than zero This instance is greater than
obj.
obj is not the same type as this instance.
protected void TrackChildViewState()
protected override void TrackViewState()
Overrides: