Class
TimelineAnnotation

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:

cs-api-definition
public class TimelineAnnotation : Control

Inheritance: objectTimelineAnnotation

Constructors

TimelineAnnotation()

Initializes a new instance of the TimelineAnnotation class.

Declaration

cs-api-definition
public TimelineAnnotation()

Fields

ContentProperty

Identifies the Content dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ContentProperty

Field Value

DependencyProperty

ContentTemplateProperty

Identifies the ContentTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ContentTemplateProperty

Field Value

DependencyProperty

DurationProperty

Identifies the Duration dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DurationProperty

Field Value

DependencyProperty

StartDateProperty

Identifies the StartDate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty StartDateProperty

Field Value

DependencyProperty

Properties

Content

Gets or sets the content of the TimelineAnnotation.

Declaration

cs-api-definition
public object Content { get; set; }

Property Value

object

The content of the TimelineAnnotation.

ContentTemplate

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

Declaration

cs-api-definition
public DataTemplate ContentTemplate { get; set; }

Property Value

DataTemplate

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

Duration

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

Declaration

cs-api-definition
public TimeSpan Duration { get; set; }

Property Value

TimeSpan

The span of the TimelineAnnotation on the timeline.

StartDate

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

Declaration

cs-api-definition
[TypeConverter(typeof(DateTimeTypeConverter))]
public DateTime StartDate { get; set; }

Property Value

DateTime

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

Methods

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.