Click or drag to resize
RadTimeBar Class
The RadTimeBar is a time bound DataVisualization control. Its chief purpose is to allow lightweight scrolling and navigation through large periods of time.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.DataVisualization (in Telerik.Windows.Controls.DataVisualization.dll) Version: 2018.2.515.40 (2018.2.515.40)
Syntax
public class RadTimeBar : TimeBarBase, IRangeSelector<DateTime>

The RadTimeBar type exposes the following members.

Constructors
  NameDescription
Public methodRadTimeBar
Initializes a new instance of the RadTimeBar class.
Top
Methods
  NameDescription
Public methodConvertPointToDateTime
Converts a point inside the control to a DateTime value relative to the timeline.
(Inherited from TimeBarBase.)
Public methodEndInit
Indicates that the initialization process for the element is complete.
(Inherited from TimeBarBase.)
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
(Overrides TimeBarBaseOnApplyTemplate.)
Protected methodOnContentChanged
Called when the Content property changes.
(Overrides ContentControlOnContentChanged(Object, Object).)
Protected methodOnCreateAutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
(Overrides UIElementOnCreateAutomationPeer.)
Protected methodOnGroupIntervalChanged
Called when the CurrentGroupInterval changes.
(Inherited from TimeBarBase.)
Protected methodOnHoveredPeriodChanged
Raises the HoveredPeriodChangedEvent. This method is invoked whenever HoveredPeriod changes.
Protected methodOnInitialized
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
(Overrides TimeBarBaseOnInitialized(EventArgs).)
Protected methodOnItemIntervalChanged
Called when the CurrentItemInterval changes.
(Inherited from TimeBarBase.)
Protected methodOnMouseWheel
Raises the [E:MouseWheel] event.
(Inherited from TimeBarBase.)
Protected methodOnSelectionChanged
Raises the SelectionChangedEvent. This method is invoked whenever Selection changes.
Protected methodOnSliderSelectionChanged
Called when the Selection of the RadSlider changes.
(Inherited from TimeBarBase.)
Protected methodOnVisiblePeriodChanged
Called when the VisiblePeriodStart or the VisiblePeriodEnd change.
(Inherited from TimeBarBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberActualSelectionEndProperty
Identifies the ActualSelectionEnd dependency property.
Public fieldStatic memberActualSelectionStartProperty
Identifies the ActualSelectionStart dependency property.
Public fieldStatic memberEnableSparklineVirtualizationProperty
Identifies the EnableSparklineVirtualization dependency property.
Public fieldStatic memberHoveredPeriodChangedEvent
Identifies the HoveredPeriodChanged routed event.
Public fieldStatic memberHoveredPeriodProperty
Identifies the HoveredPeriod dependency property.
Public fieldStatic memberIsSnapToIntervalEnabledProperty
Identifies the IsSnapToIntervalEnabled dependency property.
Public fieldStatic memberLeftSelectionIndicatorVisibilityProperty
Identifies the LeftSelectionIndicatorVisibility dependency property.
Public fieldStatic memberMaxSelectionRangeProperty
Identifies the MaxSelectionRange dependency property.
Public fieldStatic memberMinSelectionRangeProperty
Identifies the MinSelectionRange dependency property.
Public fieldStatic memberRightSelectionIndicatorVisibilityProperty
Identifies the RightSelectionIndicatorVisibility dependency property.
Public fieldStatic memberSelectionChangedEvent
Identifies the SelectionChanged routed event.
Public fieldStatic memberSelectionEndProperty
Identifies the SelectionEnd dependency property.
Public fieldStatic memberSelectionProperty
Identifies the Selection dependency property.
Public fieldStatic memberSelectionStartProperty
Identifies the SelectionStart dependency property.
Public fieldStatic memberSelectionThumbStyleProperty
Identifies the SelectionThumbStyle dependency property.
Public fieldStatic memberSelectionTitleFormatStringProperty
Identifies the SelectionTitleFormatString dependency property.
Public fieldStatic memberSelectionVisibilityIndicatorStyleProperty
Identifies the SelectionVisibilityIndicatorStyle dependency property.
Top
Properties
  NameDescription
Public propertyActualMinZoomRange
Gets the actual MinZoomRange.
(Inherited from TimeBarBase.)
Public propertyActualSelectionEnd
Gets the actual SelectionEnd.
Public propertyActualSelectionStart
Gets the actual SelectionStart.
Public propertyActualVisiblePeriodRange
Gets the actual visible period range.
(Inherited from TimeBarBase.)
Public propertyCurrentGroupInterval
Gets the current group interval.
(Inherited from TimeBarBase.)
Public propertyCurrentItemInterval
Gets the current item interval.
(Inherited from TimeBarBase.)
Public propertyEnableSparklineVirtualization
Gets or sets a value indicating whether data virtualization is enabled for the child sparkline, provided the RadTimeBar has a single sparkline child and that child sparkline has data points with values on the x-axis of type DateTime. Data virtualization requires the data for the sparkline to be chronologically sorted.
Public propertyGroupPeriodHeaderStyle
Gets or sets the HeaderStyle for every group period item.
(Inherited from TimeBarBase.)
Public propertyHoveredPeriod
Gets the hovered period in the RadTimeBar.
Public propertyIntervalGroups
Gets a collection of PeriodSpans used to generate the group period items.
(Inherited from TimeBarBase.)
Public propertyIntervalItems
Gets a collection of PeriodSpans used to generate the period items.
(Inherited from TimeBarBase.)
Public propertyIntervals
Gets a collection of intervals used by the control.
(Inherited from TimeBarBase.)
Public propertyIsSnapToIntervalEnabled
Gets or sets a value that indicates whether snapping to intervals is enabled.
Public propertyLargeChange
Gets or sets the TimeSpan value to add to or subtract from VisiblePeriodStart when the user clicks on the track of the slider.
(Inherited from TimeBarBase.)
Public propertyLeftSelectionIndicatorVisibility
Public propertyMaxSelectionRange
Gets or sets the maximum possible Selection of the RadTimeBar.
Public propertyMaxZoomRange
Gets or sets the maximum TimeSpan that the control can zoom out to.
(Inherited from TimeBarBase.)
Public propertyMinSelectionRange
Gets or sets the minimum possible Selection of the RadTimeBar.
Public propertyMinZoomRange
Gets or sets the minimum TimeSpan that the control can zoom in to.
(Inherited from TimeBarBase.)
Public propertyPeriodEnd
Gets or sets the end of the period that the control visualizes. The PeriodEnd value itself is excluded from the period.
(Inherited from TimeBarBase.)
Public propertyPeriodHeaderStyle
Gets or sets the HeaderStyle for every period item.
(Inherited from TimeBarBase.)
Public propertyPeriodStart
Gets or sets the start of the period that the control visualizes.
(Inherited from TimeBarBase.)
Public propertyRightSelectionIndicatorVisibility
Gets the Visibility of the right SelectionVisibilityIndicator.
Public propertyScrollMode
Gets or sets a value that determines how manipulation input influences the horizontal scrolling and zooming behavior of the control.
(Inherited from TimeBarBase.)
Public propertySelection
Gets or sets the selected period in the RadTimeBar.
Public propertySelectionEnd
Gets or sets the end of the selected period.
Public propertySelectionStart
Gets or sets the start of the selected period.
Public propertySelectionThumbStyle
Gets or sets the Style of the SelectionThumb.
Public propertySelectionTitleFormatString
Gets or sets the format string for the selection title.
Public propertySelectionVisibilityIndicatorStyle
Gets or sets the Style of both SelectionVisibilityIndicators.
Public propertySliderStyle
Gets or sets the Style of the RadSlider.
(Inherited from TimeBarBase.)
Public propertySmallChange
Gets or sets the TimeSpan value to add to or subtract from VisiblePeriodStart when the user clicks on the increase or decrease handles of the slider. The SmallChange also determines the zoom step.
(Inherited from TimeBarBase.)
Public propertySpecialSlots
Gets a collection of IPeriodSpans used to generate the special slots.
(Inherited from TimeBarBase.)
Public propertySpecialSlotsGenerator
Gets or sets an ITimeRangeGenerator instance that generates special IPeriodSpan slots for the current VisiblePeriod.
(Inherited from TimeBarBase.)
Public propertyVisiblePeriod
Gets or sets the visible period.
(Inherited from TimeBarBase.)
Public propertyVisiblePeriodEnd
Gets or sets the end of the visible period.
(Inherited from TimeBarBase.)
Public propertyVisiblePeriodStart
Gets or sets the start of the visible period.
(Inherited from TimeBarBase.)
Top
Events
  NameDescription
Public eventActualSelectionChanged
Occurs when the ActualSelectionStart or the ActualSelectionEnd change.
Public eventActualVisiblePeriodRangeChanged
Occurs when the actual visible period range changes.
(Inherited from TimeBarBase.)
Public eventGroupIntervalChanged
Occurs when the CurrentGroupInterval changes.
(Inherited from TimeBarBase.)
Public eventHoveredPeriodChanged
Occurs when the HoveredPeriod changes.
Public eventItemIntervalChanged
Occurs when the CurrentItemInterval changes.
(Inherited from TimeBarBase.)
Public eventSelectionChanged
Occurs when the Selection changes.
Public eventVisiblePeriodChanged
Occurs when the VisiblePeriodStart or the VisiblePeriodEnd change.
(Inherited from TimeBarBase.)
Top
See Also