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

The RadTimeline is a time bound DataVisualization control. Its chief purpose is to allow lightweight scrolling and navigation through large periods of time.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
[TelerikToolboxCategory("Data Visualization")]
public class RadTimeline : TimeBarBase, ISupportInitialize

Inheritance: objectTimeBarBaseRadTimeline

Implements: ISupportInitialize

Inherited Members TimeBarBase.VisiblePeriodChangedEventTimeBarBase.GroupIntervalChangedEventTimeBarBase.ItemIntervalChangedEventTimeBarBase.ActualVisiblePeriodRangePropertyTimeBarBase.ActualMinZoomRangePropertyTimeBarBase.PeriodEndPropertyTimeBarBase.PeriodStartPropertyTimeBarBase.VisiblePeriodPropertyTimeBarBase.VisiblePeriodEndPropertyTimeBarBase.VisiblePeriodStartPropertyTimeBarBase.LargeChangePropertyTimeBarBase.SmallChangePropertyTimeBarBase.MinZoomRangePropertyTimeBarBase.MaxZoomRangePropertyTimeBarBase.ScrollModePropertyTimeBarBase.SpecialSlotsGeneratorPropertyTimeBarBase.SliderStylePropertyTimeBarBase.PeriodHeaderStylePropertyTimeBarBase.GroupPeriodHeaderStylePropertyTimeBarBase.IntervalsPropertyTimeBarBase.IntervalGroupsPropertyTimeBarBase.IntervalItemsPropertyTimeBarBase.CurrentGroupIntervalPropertyTimeBarBase.CurrentItemIntervalPropertyTimeBarBase.SpecialSlotsPropertyTimeBarBase.EndInit()TimeBarBase.ConvertPointToDateTime(Point)TimeBarBase.RegisterCommand(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)TimeBarBase.OnMouseWheel(MouseWheelEventArgs)TimeBarBase.OnVisiblePeriodChanged()TimeBarBase.OnGroupIntervalChanged(IntervalBase, IntervalBase)TimeBarBase.OnItemIntervalChanged(IntervalBase, IntervalBase)TimeBarBase.OnSliderSelectionChanged(object, RadRoutedEventArgs)TimeBarBase.ActualVisiblePeriodRangeTimeBarBase.PeriodEndTimeBarBase.PeriodStartTimeBarBase.VisiblePeriodTimeBarBase.VisiblePeriodEndTimeBarBase.VisiblePeriodStartTimeBarBase.MinZoomRangeTimeBarBase.MaxZoomRangeTimeBarBase.ScrollModeTimeBarBase.SpecialSlotsGeneratorTimeBarBase.SliderStyleTimeBarBase.PeriodHeaderStyleTimeBarBase.GroupPeriodHeaderStyleTimeBarBase.IntervalsTimeBarBase.CurrentGroupIntervalTimeBarBase.CurrentItemIntervalTimeBarBase.VisiblePeriodChangedTimeBarBase.ActualVisiblePeriodRangeChangedTimeBarBase.GroupIntervalChangedTimeBarBase.ItemIntervalChanged...

Constructors

Initializes a new instance of the RadTimeline class.

C#
public RadTimeline()

Fields

Identifies the AnnotationContentPath dependency property.

C#
public static readonly DependencyProperty AnnotationContentPathProperty

Identifies the AnnotationContentTemplate dependency property.

C#
public static readonly DependencyProperty AnnotationContentTemplateProperty

Identifies the AnnotationDurationPath dependency property.

C#
public static readonly DependencyProperty AnnotationDurationPathProperty

AnnotationsProperty

DependencyProperty

Identifies the Annotations dependency property.

C#
public static readonly DependencyProperty AnnotationsProperty

AnnotationsSourceProperty

DependencyProperty

Identifies the AnnotationsSource dependency property.

C#
public static readonly DependencyProperty AnnotationsSourceProperty

AnnotationStartPathProperty

DependencyProperty

Identifies the AnnotationStartPath dependency property.

C#
public static readonly DependencyProperty AnnotationStartPathProperty

Identifies the AnnotationZIndexPath dependency property.

C#
public static readonly DependencyProperty AnnotationZIndexPathProperty

AutoSortProperty

DependencyProperty

Identifies the AutoSort dependency property.

C#
public static readonly DependencyProperty AutoSortProperty

DataGroupsProperty

DependencyProperty

Identifies the DataGroups dependency property.

C#
public static readonly DependencyProperty DataGroupsProperty

DataItemsProperty

DependencyProperty

Identifies the DataItems dependency property.

C#
public static readonly DependencyProperty DataItemsProperty

DurationPathProperty

DependencyProperty

Identifies the DurationPath dependency property.

C#
public static readonly DependencyProperty DurationPathProperty

GroupedDataItemsProperty

DependencyProperty

Identifies the GroupedDataItems dependency property.

C#
public static readonly DependencyProperty GroupedDataItemsProperty

GroupExpandModeProperty

DependencyProperty

Identifies the GroupExpandMode dependency property.

C#
public static readonly DependencyProperty GroupExpandModeProperty

GroupPathProperty

DependencyProperty

Identifies the GroupPath dependency property.

C#
public static readonly DependencyProperty GroupPathProperty

IsSelectionEnabledProperty

DependencyProperty

Identifies the IsSelectionEnabled dependency property.

C#
public static readonly DependencyProperty IsSelectionEnabledProperty

Identifies the ItemRowIndexGenerator dependency property.

C#
public static readonly DependencyProperty ItemRowIndexGeneratorProperty

ItemsSourceProperty

DependencyProperty

Identifies the ItemsSource dependency property.

C#
public static readonly DependencyProperty ItemsSourceProperty

Identifies the ItemTemplateSelector dependency property.

C#
public static readonly DependencyProperty ItemTemplateSelectorProperty

MinimumItemGapProperty

DependencyProperty

Identifies the MinimumItemGap dependency property.

C#
public static readonly DependencyProperty MinimumItemGapProperty

SelectedItemProperty

DependencyProperty

Identifies the SelectedItem dependency property.

C#
public static readonly DependencyProperty SelectedItemProperty

SelectedItemsProperty

DependencyProperty

Identifies the SelectedItems dependency property.

C#
public static readonly DependencyProperty SelectedItemsProperty

Identifies the SelectionChanged routed event.

C#
public static readonly RoutedEvent SelectionChangedEvent

SelectionModeProperty

DependencyProperty

Identifies the SelectionMode dependency property.

C#
public static readonly DependencyProperty SelectionModeProperty

StartPathProperty

DependencyProperty

Identifies the StartPath dependency property.

C#
public static readonly DependencyProperty StartPathProperty

Identifies the TimelineInstantItemTemplate dependency property.

C#
public static readonly DependencyProperty TimelineInstantItemTemplateProperty

Identifies the TimelineItemTemplate dependency property.

C#
public static readonly DependencyProperty TimelineItemTemplateProperty

ToolTipFormatProperty

DependencyProperty

Identifies the ToolTipFormat dependency property.

C#
public static readonly DependencyProperty ToolTipFormatProperty

ToolTipPathProperty

DependencyProperty

Identifies the ToolTipPath dependency property.

C#
public static readonly DependencyProperty ToolTipPathProperty

ToolTipTemplateProperty

DependencyProperty

Identifies the ToolTipTemplate dependency property.

C#
public static readonly DependencyProperty ToolTipTemplateProperty

Identifies the VerticalScrollBarVisibility dependency property.

C#
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty

Properties

Gets or sets the annotation content path.

C#
public string AnnotationContentPath { get; set; }
Property Value:

The annotation content path.

Gets or sets the annotation content template.

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

The annotation content template.

Gets or sets the annotation duration path.

C#
public string AnnotationDurationPath { get; set; }
Property Value:

The annotation duration path.

Gets the annotations.

C#
public TimelineAnnotationCollection Annotations { get; }
Property Value:

The annotations.

Gets or sets the annotations source property.

C#
public IEnumerable AnnotationsSource { get; set; }

Gets or sets the annotation start path.

C#
public string AnnotationStartPath { get; set; }
Property Value:

The annotation start path.

Gets or sets the annotation z-index path.

C#
public string AnnotationZIndexPath { get; set; }
Property Value:

The annotation z-index path.

Gets or sets a value indicating if the timeline items will be ordered automatically by Start and Duration.

C#
public bool AutoSort { get; set; }
Property Value:

The value indicating if the timeline items will be ordered automatically by Start and Duration.

Gets or sets the duration path.

C#
public string DurationPath { get; set; }
Property Value:

The duration path.

Gets or sets the group expand mode.

C#
public GroupExpandMode GroupExpandMode { get; set; }
Property Value:

The group expand mode.

Gets or sets the group path.

C#
public string GroupPath { get; set; }
Property Value:

The group path.

Gets or sets a value indicating if selection is enabled.

C#
public bool IsSelectionEnabled { get; set; }
Property Value:

The value indicating if selection is enabled.

Gets or sets an IItemRowIndexGenerator instance that generates row indexes for the items based on custom logic."/>.

C#
public IItemRowIndexGenerator ItemRowIndexGenerator { get; set; }
Property Value:

An IItemRowIndexGenerator instance that generates a row index for each item. By default, the original indexes are used.

Gets or sets the items source property.

C#
public IEnumerable ItemsSource { get; set; }

ItemTemplateSelector

DataTemplateSelector

Gets or sets the custom logic for choosing a template used to display each item. This is a dependency property.

C#
public DataTemplateSelector ItemTemplateSelector { get; set; }
Property Value:

A custom DataTemplateSelector object that provides logic and returns a DataTemplate. The default is null.

Gets or sets the minimum gap between two items on the same row.

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

The minimum gap between two items on the same row.

Gets the selected item.

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

The selected item.

Gets the selected items property.

C#
public IList SelectedItems { get; }

SelectionMode

SelectionMode

Gets or sets the selection mode.

C#
public SelectionMode SelectionMode { get; set; }
Property Value:

The selection mode.

Gets or sets the start path.

C#
public string StartPath { get; set; }
Property Value:

The start path.

Gets or sets the instant event template.

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

The instant event template.

Gets or sets the event template.

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

The event template.

Gets or sets the tooltip format.

C#
public string ToolTipFormat { get; set; }
Property Value:

The tooltip format.

Gets or sets the tooltip path.

C#
public string ToolTipPath { get; set; }
Property Value:

The tooltip path.

ToolTipTemplate

DataTemplate

Gets or sets the tooltip template.

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

The tooltip template.

VerticalScrollBarVisibility

ScrollBarVisibility

Gets or sets a value that indicates whether a vertical scrollBar should be displayed.

C#
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }
Property Value:

A ScrollBarVisibility value that indicates whether a vertical scrollBar should be displayed. The default is .

Methods

Collapses all groups of timeline items.

C#
public void CollapseAll()
Remarks:

No group is collapsed in case GroupExpandMode equals None.

Expands all groups of timeline items.

C#
public void ExpandAll()
Remarks:

Expands only the first group of timeline items in case GroupExpandMode equals Single.

Returns a group of timeline items with the specified group header.

C#
public TimelineItemGroupControl GetGroupByGroupHeader(object groupHeader)
Parameters:groupHeaderobject

The group header.

Returns:

TimelineItemGroupControl

A TimelineItemGroupControl with the specified group header.

When overridden in a derived class, is invoked whenever application code or internal processes call .

C#
public override void OnApplyTemplate()

Overrides: TimeBarBase.OnApplyTemplate()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

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.

Overrides: TimeBarBase.OnInitialized(EventArgs)

Events

Occurs when the selection is changed.

C#
public event EventHandler<SelectionChangeEventArgs> SelectionChanged

Extension Methods