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:
[TelerikToolboxCategory("Data Visualization")]
public class RadTimeline : TimeBarBase, ISupportInitialize
Inheritance: objectTimeBarBaseRadTimeline
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadTimeline class.
public RadTimeline()
Fields
AnnotationContentPathProperty
DependencyProperty
Identifies the AnnotationContentPath dependency property.
public static readonly DependencyProperty AnnotationContentPathProperty
AnnotationContentTemplateProperty
DependencyProperty
Identifies the AnnotationContentTemplate dependency property.
public static readonly DependencyProperty AnnotationContentTemplateProperty
AnnotationDurationPathProperty
DependencyProperty
Identifies the AnnotationDurationPath dependency property.
public static readonly DependencyProperty AnnotationDurationPathProperty
AnnotationsProperty
DependencyProperty
Identifies the Annotations dependency property.
public static readonly DependencyProperty AnnotationsProperty
AnnotationsSourceProperty
DependencyProperty
Identifies the AnnotationsSource dependency property.
public static readonly DependencyProperty AnnotationsSourceProperty
AnnotationStartPathProperty
DependencyProperty
Identifies the AnnotationStartPath dependency property.
public static readonly DependencyProperty AnnotationStartPathProperty
AnnotationZIndexPathProperty
DependencyProperty
Identifies the AnnotationZIndexPath dependency property.
public static readonly DependencyProperty AnnotationZIndexPathProperty
AutoSortProperty
DependencyProperty
Identifies the AutoSort dependency property.
public static readonly DependencyProperty AutoSortProperty
DataGroupsProperty
DependencyProperty
Identifies the DataGroups dependency property.
public static readonly DependencyProperty DataGroupsProperty
DataItemsProperty
DependencyProperty
Identifies the DataItems dependency property.
public static readonly DependencyProperty DataItemsProperty
DurationPathProperty
DependencyProperty
Identifies the DurationPath dependency property.
public static readonly DependencyProperty DurationPathProperty
GroupedDataItemsProperty
DependencyProperty
Identifies the GroupedDataItems dependency property.
public static readonly DependencyProperty GroupedDataItemsProperty
GroupExpandModeProperty
DependencyProperty
Identifies the GroupExpandMode dependency property.
public static readonly DependencyProperty GroupExpandModeProperty
GroupPathProperty
DependencyProperty
Identifies the GroupPath dependency property.
public static readonly DependencyProperty GroupPathProperty
IsSelectionEnabledProperty
DependencyProperty
Identifies the IsSelectionEnabled dependency property.
public static readonly DependencyProperty IsSelectionEnabledProperty
ItemRowIndexGeneratorProperty
DependencyProperty
Identifies the ItemRowIndexGenerator dependency property.
public static readonly DependencyProperty ItemRowIndexGeneratorProperty
ItemsSourceProperty
DependencyProperty
Identifies the ItemsSource dependency property.
public static readonly DependencyProperty ItemsSourceProperty
ItemTemplateSelectorProperty
DependencyProperty
Identifies the ItemTemplateSelector dependency property.
public static readonly DependencyProperty ItemTemplateSelectorProperty
MinimumItemGapProperty
DependencyProperty
Identifies the MinimumItemGap dependency property.
public static readonly DependencyProperty MinimumItemGapProperty
SelectedItemProperty
DependencyProperty
Identifies the SelectedItem dependency property.
public static readonly DependencyProperty SelectedItemProperty
SelectedItemsProperty
DependencyProperty
Identifies the SelectedItems dependency property.
public static readonly DependencyProperty SelectedItemsProperty
SelectionChangedEvent
RoutedEvent
Identifies the SelectionChanged routed event.
public static readonly RoutedEvent SelectionChangedEvent
SelectionModeProperty
DependencyProperty
Identifies the SelectionMode dependency property.
public static readonly DependencyProperty SelectionModeProperty
StartPathProperty
DependencyProperty
Identifies the StartPath dependency property.
public static readonly DependencyProperty StartPathProperty
TimelineInstantItemTemplateProperty
DependencyProperty
Identifies the TimelineInstantItemTemplate dependency property.
public static readonly DependencyProperty TimelineInstantItemTemplateProperty
TimelineItemTemplateProperty
DependencyProperty
Identifies the TimelineItemTemplate dependency property.
public static readonly DependencyProperty TimelineItemTemplateProperty
ToolTipFormatProperty
DependencyProperty
Identifies the ToolTipFormat dependency property.
public static readonly DependencyProperty ToolTipFormatProperty
ToolTipPathProperty
DependencyProperty
Identifies the ToolTipPath dependency property.
public static readonly DependencyProperty ToolTipPathProperty
ToolTipTemplateProperty
DependencyProperty
Identifies the ToolTipTemplate dependency property.
public static readonly DependencyProperty ToolTipTemplateProperty
VerticalScrollBarVisibilityProperty
DependencyProperty
Identifies the VerticalScrollBarVisibility dependency property.
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty
Properties
Gets or sets the annotation content path.
public string AnnotationContentPath { get; set; }
The annotation content path.
AnnotationContentTemplate
DataTemplate
Gets or sets the annotation content template.
public DataTemplate AnnotationContentTemplate { get; set; }
The annotation content template.
Gets or sets the annotation duration path.
public string AnnotationDurationPath { get; set; }
The annotation duration path.
Gets the annotations.
public TimelineAnnotationCollection Annotations { get; }
The annotations.
Gets or sets the annotations source property.
public IEnumerable AnnotationsSource { get; set; }
Gets or sets the annotation start path.
public string AnnotationStartPath { get; set; }
The annotation start path.
Gets or sets the annotation z-index path.
public string AnnotationZIndexPath { get; set; }
The annotation z-index path.
Gets or sets a value indicating if the timeline items will be ordered automatically by Start and Duration.
public bool AutoSort { get; set; }
The value indicating if the timeline items will be ordered automatically by Start and Duration.
Gets or sets the duration path.
public string DurationPath { get; set; }
The duration path.
Gets or sets the group expand mode.
public GroupExpandMode GroupExpandMode { get; set; }
The group expand mode.
Gets or sets the group path.
public string GroupPath { get; set; }
The group path.
Gets or sets a value indicating if selection is enabled.
public bool IsSelectionEnabled { get; set; }
The value indicating if selection is enabled.
Gets or sets an IItemRowIndexGenerator instance that generates row indexes for the items based on custom logic."/>.
public IItemRowIndexGenerator ItemRowIndexGenerator { get; set; }
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.
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.
public DataTemplateSelector ItemTemplateSelector { get; set; }
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.
public TimeSpan MinimumItemGap { get; set; }
The minimum gap between two items on the same row.
Gets the selected item.
public object SelectedItem { get; set; }
The selected item.
Gets the selected items property.
public IList SelectedItems { get; }
SelectionMode
SelectionMode
Gets or sets the selection mode.
public SelectionMode SelectionMode { get; set; }
The selection mode.
Gets or sets the start path.
public string StartPath { get; set; }
The start path.
TimelineInstantItemTemplate
DataTemplate
Gets or sets the instant event template.
public DataTemplate TimelineInstantItemTemplate { get; set; }
The instant event template.
TimelineItemTemplate
DataTemplate
Gets or sets the event template.
public DataTemplate TimelineItemTemplate { get; set; }
The event template.
Gets or sets the tooltip format.
public string ToolTipFormat { get; set; }
The tooltip format.
Gets or sets the tooltip path.
public string ToolTipPath { get; set; }
The tooltip path.
ToolTipTemplate
DataTemplate
Gets or sets the tooltip template.
public DataTemplate ToolTipTemplate { get; set; }
The tooltip template.
VerticalScrollBarVisibility
ScrollBarVisibility
Gets or sets a value that indicates whether a vertical scrollBar should be displayed.
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }
A ScrollBarVisibility value that indicates whether a vertical scrollBar should be displayed. The default is .
Methods
Collapses all groups of timeline items.
public void CollapseAll()
No group is collapsed in case GroupExpandMode equals None.
Expands all groups of timeline items.
public void ExpandAll()
Expands only the first group of timeline items in case GroupExpandMode equals Single.
Returns a group of timeline items with the specified group header.
public TimelineItemGroupControl GetGroupByGroupHeader(object groupHeader)
The group header.
Returns:A TimelineItemGroupControl with the specified group header.
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
Overrides:
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Overrides:
Events
Occurs when the selection is changed.
public event EventHandler<SelectionChangeEventArgs> SelectionChanged