New to Telerik UI for WPFStart a free 30-day trial

An annotation that allows you to place a custom object at a specific place in your RadTimeline.

Definition

Namespace:Telerik.Windows.Controls.Timeline

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class TimelineAnnotation : Control

Inheritance: objectTimelineAnnotation

Constructors

Initializes a new instance of the TimelineAnnotation class.

C#
public TimelineAnnotation()

Fields

ContentProperty

DependencyProperty

Identifies the Content dependency property.

C#
public static readonly DependencyProperty ContentProperty

ContentTemplateProperty

DependencyProperty

Identifies the ContentTemplate dependency property.

C#
public static readonly DependencyProperty ContentTemplateProperty

DurationProperty

DependencyProperty

Identifies the Duration dependency property.

C#
public static readonly DependencyProperty DurationProperty

StartDateProperty

DependencyProperty

Identifies the StartDate dependency property.

C#
public static readonly DependencyProperty StartDateProperty

Properties

Gets or sets the content of the TimelineAnnotation.

C#
public object Content { get; set; }
Property Value:

The content of the TimelineAnnotation.

ContentTemplate

DataTemplate

Gets or sets the DataTemplate used to display the Content the TimelineAnnotation.

C#
public DataTemplate ContentTemplate { get; set; }
Property Value:

A DataTemplate that specifies the visualization of the Content. The default is null.

Gets or sets a TimeSpan object that identifies the span of the TimelineAnnotation on the timeline.

C#
public TimeSpan Duration { get; set; }
Property Value:

The span of the TimelineAnnotation on the timeline.

Gets or sets a DateTime object that identifies the position of the TimelineAnnotation on the timeline.

C#
[TypeConverter(typeof(DateTimeTypeConverter))]
public DateTime StartDate { get; set; }
Property Value:

The DateTime object that identifies the position of the TimelineAnnotation on the timeline.

Methods

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.