Class RadTimeBar
The RadTimeBar is a time bound DataVisualization control. Its chief purpose is to allow lightweight scrolling and navigation through large periods of time.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
[TelerikToolboxCategory("Data Visualization")]
public class RadTimeBar : TimeBarBase, ISupportInitialize, IRangeSelector<DateTime>
Constructors
RadTimeBar()
Fields
ActualSelectionEndProperty
Identifies the Actual
Declaration
public static readonly DependencyProperty ActualSelectionEndProperty
Field Value
System.
|
ActualSelectionStartProperty
Identifies the Actual
Declaration
public static readonly DependencyProperty ActualSelectionStartProperty
Field Value
System.
|
EnableSparklineVirtualizationProperty
Identifies the Enable
Declaration
public static readonly DependencyProperty EnableSparklineVirtualizationProperty
Field Value
System.
|
HoveredPeriodChangedEvent
Identifies the Hovered
Declaration
public static readonly RoutedEvent HoveredPeriodChangedEvent
Field Value
System.
|
HoveredPeriodProperty
Identifies the Hovered
Declaration
public static readonly DependencyProperty HoveredPeriodProperty
Field Value
System.
|
IsSnapToIntervalEnabledProperty
Identifies the Is
Declaration
public static readonly DependencyProperty IsSnapToIntervalEnabledProperty
Field Value
System.
|
LeftSelectionIndicatorVisibilityProperty
Identifies the Left
Declaration
public static readonly DependencyProperty LeftSelectionIndicatorVisibilityProperty
Field Value
System.
|
MaxSelectionRangeProperty
Identifies the Max
Declaration
public static readonly DependencyProperty MaxSelectionRangeProperty
Field Value
System.
|
MinSelectionRangeProperty
Identifies the Min
Declaration
public static readonly DependencyProperty MinSelectionRangeProperty
Field Value
System.
|
RightSelectionIndicatorVisibilityProperty
Identifies the Right
Declaration
public static readonly DependencyProperty RightSelectionIndicatorVisibilityProperty
Field Value
System.
|
SelectionChangedEvent
Identifies the Selection
Declaration
public static readonly RoutedEvent SelectionChangedEvent
Field Value
System.
|
SelectionEndProperty
Identifies the Selection
Declaration
public static readonly DependencyProperty SelectionEndProperty
Field Value
System.
|
SelectionProperty
Identifies the Selection dependency property.
Declaration
public static readonly DependencyProperty SelectionProperty
Field Value
System.
|
SelectionStartProperty
Identifies the Selection
Declaration
public static readonly DependencyProperty SelectionStartProperty
Field Value
System.
|
SelectionThumbStyleProperty
Identifies the Selection
Declaration
public static readonly DependencyProperty SelectionThumbStyleProperty
Field Value
System.
|
SelectionTitleFormatStringProperty
Identifies the Selection
Declaration
public static readonly DependencyProperty SelectionTitleFormatStringProperty
Field Value
System.
|
SelectionVisibilityIndicatorStyleProperty
Identifies the Selection
Declaration
public static readonly DependencyProperty SelectionVisibilityIndicatorStyleProperty
Field Value
System.
|
Properties
ActualSelectionEnd
Gets the actual Selection
Declaration
public DateTime ActualSelectionEnd { get; }
Property Value
System. The actual Selection |
Remarks
When the user is dragging one of the selection thumbs, the Selection
ActualSelectionStart
Gets the actual Selection
Declaration
public DateTime ActualSelectionStart { get; }
Property Value
System. The actual Selection |
Remarks
When the user is dragging one of the selection thumbs, the Selection
EnableSparklineVirtualization
Gets or sets a value indicating whether data virtualization is enabled for the child sparkline, provided the Rad
Declaration
public bool EnableSparklineVirtualization { get; set; }
Property Value
System. A value that indicates whether data virtualization is enabled for the child sparkline. |
HoveredPeriod
Gets the hovered period in the Rad
Declaration
public Nullable<SelectionRange<DateTime>> HoveredPeriod { get; }
Property Value
System. The hovered period. The default value is |
IsSnapToIntervalEnabled
Gets or sets a value that indicates whether snapping to intervals is enabled.
Declaration
public bool IsSnapToIntervalEnabled { get; set; }
Property Value
System. A value that indicates whether snapping to intervals is enabled. |
LeftSelectionIndicatorVisibility
Gets the System.
Declaration
public Visibility LeftSelectionIndicatorVisibility { get; }
Property Value
System. The System. |
MaxSelectionRange
Gets or sets the maximum possible Selection of the Rad
Declaration
public TimeSpan MaxSelectionRange { get; set; }
Property Value
System. The maximum possible Selection of the Rad |
Remarks
The System.
MinSelectionRange
Gets or sets the minimum possible Selection of the Rad
Declaration
public TimeSpan MinSelectionRange { get; set; }
Property Value
System. The minimum possible Selection of the Rad |
RightSelectionIndicatorVisibility
Gets the System.
Declaration
public Visibility RightSelectionIndicatorVisibility { get; }
Property Value
System. The System. |
Selection
Gets or sets the selected period in the Rad
Declaration
public SelectionRange<DateTime> Selection { get; set; }
Property Value
Selection The selected period. |
Implements
SelectionEnd
Gets or sets the end of the selected period.
Declaration
public DateTime SelectionEnd { get; set; }
Property Value
System. The end of the selected period. |
Implements
SelectionStart
Gets or sets the start of the selected period.
Declaration
public DateTime SelectionStart { get; set; }
Property Value
System. The start of the selected period. |
Implements
SelectionThumbStyle
Gets or sets the System.
Declaration
public Style SelectionThumbStyle { get; set; }
Property Value
System. The System. |
SelectionTitleFormatString
Gets or sets the format string for the selection title.
Declaration
public string SelectionTitleFormatString { get; set; }
Property Value
System. The format string for the selection title. |
SelectionVisibilityIndicatorStyle
Gets or sets the System.
Declaration
public Style SelectionVisibilityIndicatorStyle { get; set; }
Property Value
System. The System. |
Remarks
The Selection
Methods
add_SelectionChanged(RadRoutedEventHandler)
Declaration
public void add_SelectionChanged(RadRoutedEventHandler value)
Parameters
Rad
|
Implements
OnContentChanged(Object, Object)
Called when the System.
Declaration
protected override void OnContentChanged(object oldContent, object newContent)
Parameters
System. The old value of the System. |
System. The new value of the System. |
OnCreateAutomationPeer()
Returns class-specific System.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System. The type-specific System. |
OnHoveredPeriodChanged(Nullable<SelectionRange<DateTime>>)
Raises the Hovered
Declaration
protected virtual void OnHoveredPeriodChanged(Nullable<SelectionRange<DateTime>> hoveredPeriod)
Parameters
System. The new value of Hovered |
OnInitialized(EventArgs)
Raises the System.true
internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
Overrides
OnSelectionChanged()
Raises the Selection
Declaration
protected virtual void OnSelectionChanged()
remove_SelectionChanged(RadRoutedEventHandler)
Declaration
public void remove_SelectionChanged(RadRoutedEventHandler value)
Parameters
Rad
|
Implements
Events
ActualSelectionChanged
Occurs when the Actual
Declaration
public event EventHandler ActualSelectionChanged
Event Type
System.
|
HoveredPeriodChanged
Occurs when the Hovered
Declaration
public event EventHandler<HoveredPeriodEventArgs> HoveredPeriodChanged
Event Type
System.
|
SelectionChanged
Occurs when the Selection changes.
Declaration
public event RadRoutedEventHandler SelectionChanged
Event Type
Implements
Remarks
This event occurs whenever there is a change to the selection. The selection can be changed not only by user interaction but also by binding as well as other set values.