Class
RadTimeline

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:

cs-api-definition
[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

RadTimeline()

Initializes a new instance of the RadTimeline class.

Declaration

cs-api-definition
public RadTimeline()

Fields

AnnotationContentPathProperty

Identifies the AnnotationContentPath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AnnotationContentPathProperty

Field Value

DependencyProperty

AnnotationContentTemplateProperty

Identifies the AnnotationContentTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AnnotationContentTemplateProperty

Field Value

DependencyProperty

AnnotationDurationPathProperty

Identifies the AnnotationDurationPath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AnnotationDurationPathProperty

Field Value

DependencyProperty

AnnotationStartPathProperty

Identifies the AnnotationStartPath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AnnotationStartPathProperty

Field Value

DependencyProperty

AnnotationZIndexPathProperty

Identifies the AnnotationZIndexPath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AnnotationZIndexPathProperty

Field Value

DependencyProperty

AnnotationsProperty

Identifies the Annotations dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AnnotationsProperty

Field Value

DependencyProperty

AnnotationsSourceProperty

Identifies the AnnotationsSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AnnotationsSourceProperty

Field Value

DependencyProperty

AutoSortProperty

Identifies the AutoSort dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoSortProperty

Field Value

DependencyProperty

DataGroupsProperty

Identifies the DataGroups dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DataGroupsProperty

Field Value

DependencyProperty

DataItemsProperty

Identifies the DataItems dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DataItemsProperty

Field Value

DependencyProperty

DurationPathProperty

Identifies the DurationPath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DurationPathProperty

Field Value

DependencyProperty

GroupExpandModeProperty

Identifies the GroupExpandMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty GroupExpandModeProperty

Field Value

DependencyProperty

GroupPathProperty

Identifies the GroupPath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty GroupPathProperty

Field Value

DependencyProperty

GroupedDataItemsProperty

Identifies the GroupedDataItems dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty GroupedDataItemsProperty

Field Value

DependencyProperty

IsSelectionEnabledProperty

Identifies the IsSelectionEnabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsSelectionEnabledProperty

Field Value

DependencyProperty

ItemRowIndexGeneratorProperty

Identifies the ItemRowIndexGenerator dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemRowIndexGeneratorProperty

Field Value

DependencyProperty

ItemTemplateSelectorProperty

Identifies the ItemTemplateSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemTemplateSelectorProperty

Field Value

DependencyProperty

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

MinimumItemGapProperty

Identifies the MinimumItemGap dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinimumItemGapProperty

Field Value

DependencyProperty

SelectedItemProperty

Identifies the SelectedItem dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedItemProperty

Field Value

DependencyProperty

SelectedItemsProperty

Identifies the SelectedItems dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedItemsProperty

Field Value

DependencyProperty

SelectionChangedEvent

Identifies the SelectionChanged routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent SelectionChangedEvent

Field Value

RoutedEvent

SelectionModeProperty

Identifies the SelectionMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectionModeProperty

Field Value

DependencyProperty

StartPathProperty

Identifies the StartPath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty StartPathProperty

Field Value

DependencyProperty

TimelineInstantItemTemplateProperty

Identifies the TimelineInstantItemTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TimelineInstantItemTemplateProperty

Field Value

DependencyProperty

TimelineItemTemplateProperty

Identifies the TimelineItemTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TimelineItemTemplateProperty

Field Value

DependencyProperty

ToolTipFormatProperty

Identifies the ToolTipFormat dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ToolTipFormatProperty

Field Value

DependencyProperty

ToolTipPathProperty

Identifies the ToolTipPath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ToolTipPathProperty

Field Value

DependencyProperty

ToolTipTemplateProperty

Identifies the ToolTipTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ToolTipTemplateProperty

Field Value

DependencyProperty

VerticalScrollBarVisibilityProperty

Identifies the VerticalScrollBarVisibility dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty

Field Value

DependencyProperty

Properties

AnnotationContentPath

Gets or sets the annotation content path.

Declaration

cs-api-definition
public string AnnotationContentPath { get; set; }

Property Value

string

The annotation content path.

AnnotationContentTemplate

Gets or sets the annotation content template.

Declaration

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

Property Value

DataTemplate

The annotation content template.

AnnotationDurationPath

Gets or sets the annotation duration path.

Declaration

cs-api-definition
public string AnnotationDurationPath { get; set; }

Property Value

string

The annotation duration path.

AnnotationStartPath

Gets or sets the annotation start path.

Declaration

cs-api-definition
public string AnnotationStartPath { get; set; }

Property Value

string

The annotation start path.

AnnotationZIndexPath

Gets or sets the annotation z-index path.

Declaration

cs-api-definition
public string AnnotationZIndexPath { get; set; }

Property Value

string

The annotation z-index path.

Annotations

Gets the annotations.

Declaration

cs-api-definition
public TimelineAnnotationCollection Annotations { get; }

Property Value

TimelineAnnotationCollection

The annotations.

AnnotationsSource

Gets or sets the annotations source property.

Declaration

cs-api-definition
public IEnumerable AnnotationsSource { get; set; }

Property Value

IEnumerable

AutoSort

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

Declaration

cs-api-definition
public bool AutoSort { get; set; }

Property Value

bool

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

DurationPath

Gets or sets the duration path.

Declaration

cs-api-definition
public string DurationPath { get; set; }

Property Value

string

The duration path.

GroupExpandMode

Gets or sets the group expand mode.

Declaration

cs-api-definition
public GroupExpandMode GroupExpandMode { get; set; }

Property Value

GroupExpandMode

The group expand mode.

GroupPath

Gets or sets the group path.

Declaration

cs-api-definition
public string GroupPath { get; set; }

Property Value

string

The group path.

IsSelectionEnabled

Gets or sets a value indicating if selection is enabled.

Declaration

cs-api-definition
public bool IsSelectionEnabled { get; set; }

Property Value

bool

The value indicating if selection is enabled.

ItemRowIndexGenerator

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

Declaration

cs-api-definition
public IItemRowIndexGenerator ItemRowIndexGenerator { get; set; }

Property Value

IItemRowIndexGenerator

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

ItemTemplateSelector

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

Declaration

cs-api-definition
public DataTemplateSelector ItemTemplateSelector { get; set; }

Property Value

DataTemplateSelector

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

ItemsSource

Gets or sets the items source property.

Declaration

cs-api-definition
public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

MinimumItemGap

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

Declaration

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

Property Value

TimeSpan

The minimum gap between two items on the same row.

SelectedItem

Gets the selected item.

Declaration

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

Property Value

object

The selected item.

SelectedItems

Gets the selected items property.

Declaration

cs-api-definition
public IList SelectedItems { get; }

Property Value

IList

SelectionMode

Gets or sets the selection mode.

Declaration

cs-api-definition
public SelectionMode SelectionMode { get; set; }

Property Value

SelectionMode

The selection mode.

StartPath

Gets or sets the start path.

Declaration

cs-api-definition
public string StartPath { get; set; }

Property Value

string

The start path.

TimelineInstantItemTemplate

Gets or sets the instant event template.

Declaration

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

Property Value

DataTemplate

The instant event template.

TimelineItemTemplate

Gets or sets the event template.

Declaration

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

Property Value

DataTemplate

The event template.

ToolTipFormat

Gets or sets the tooltip format.

Declaration

cs-api-definition
public string ToolTipFormat { get; set; }

Property Value

string

The tooltip format.

ToolTipPath

Gets or sets the tooltip path.

Declaration

cs-api-definition
public string ToolTipPath { get; set; }

Property Value

string

The tooltip path.

ToolTipTemplate

Gets or sets the tooltip template.

Declaration

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

Property Value

DataTemplate

The tooltip template.

VerticalScrollBarVisibility

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

Declaration

cs-api-definition
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }

Property Value

ScrollBarVisibility

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

Methods

CollapseAll()

Collapses all groups of timeline items.

Declaration

cs-api-definition
public void CollapseAll()

Remarks

No group is collapsed in case GroupExpandMode equals None.

ExpandAll()

Expands all groups of timeline items.

Declaration

cs-api-definition
public void ExpandAll()

Remarks

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

GetGroupByGroupHeader(object)

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

Declaration

cs-api-definition
public TimelineItemGroupControl GetGroupByGroupHeader(object groupHeader)

Parameters

groupHeader

object

The group header.

Returns

TimelineItemGroupControl

A TimelineItemGroupControl with the specified group header.

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides TimeBarBase.OnApplyTemplate()

OnCreateAutomationPeer()

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

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

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.

Overrides TimeBarBase.OnInitialized(EventArgs)

Events

SelectionChanged

Occurs when the selection is changed.

Declaration

cs-api-definition
public event EventHandler<SelectionChangeEventArgs> SelectionChanged

Event Value

EventHandler<SelectionChangeEventArgs>

Extension Methods