Class TimeBarBase
A base class for Rad
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
[TelerikToolboxCategory("Data Visualization")]
public abstract class TimeBarBase : ContentControl, ISupportInitialize
Constructors
TimeBarBase()
Fields
ActualMinZoomRangeProperty
Identifies the Actual
Declaration
public static readonly DependencyProperty ActualMinZoomRangeProperty
Field Value
System.
|
ActualVisiblePeriodRangeProperty
Identifies the Actual
Declaration
public static readonly DependencyProperty ActualVisiblePeriodRangeProperty
Field Value
System.
|
CurrentGroupIntervalProperty
Identifies the Current
Declaration
public static readonly DependencyProperty CurrentGroupIntervalProperty
Field Value
System.
|
CurrentItemIntervalProperty
Identifies the Current
Declaration
public static readonly DependencyProperty CurrentItemIntervalProperty
Field Value
System.
|
GroupIntervalChangedEvent
Identifies the Group
Declaration
public static readonly RoutedEvent GroupIntervalChangedEvent
Field Value
System.
|
GroupPeriodHeaderStyleProperty
Identifies the Group
Declaration
public static readonly DependencyProperty GroupPeriodHeaderStyleProperty
Field Value
System.
|
IntervalGroupsProperty
Identifies the Interval
Declaration
public static readonly DependencyProperty IntervalGroupsProperty
Field Value
System.
|
IntervalItemsProperty
Identifies the Interval
Declaration
public static readonly DependencyProperty IntervalItemsProperty
Field Value
System.
|
IntervalsProperty
Identifies the Intervals dependency property.
Declaration
public static readonly DependencyProperty IntervalsProperty
Field Value
System.
|
ItemIntervalChangedEvent
Identifies the Item
Declaration
public static readonly RoutedEvent ItemIntervalChangedEvent
Field Value
System.
|
LargeChangeProperty
Identifies the Large
Declaration
public static readonly DependencyProperty LargeChangeProperty
Field Value
System.
|
MaxZoomRangeProperty
Identifies the Max
Declaration
public static readonly DependencyProperty MaxZoomRangeProperty
Field Value
System.
|
MinZoomRangeProperty
Identifies the Min
Declaration
public static readonly DependencyProperty MinZoomRangeProperty
Field Value
System.
|
PeriodEndProperty
Identifies the Period
Declaration
public static readonly DependencyProperty PeriodEndProperty
Field Value
System.
|
PeriodHeaderStyleProperty
Identifies the Period
Declaration
public static readonly DependencyProperty PeriodHeaderStyleProperty
Field Value
System.
|
PeriodStartProperty
Identifies the Period
Declaration
public static readonly DependencyProperty PeriodStartProperty
Field Value
System.
|
ScrollModeProperty
Identifies the Scroll
Declaration
public static readonly DependencyProperty ScrollModeProperty
Field Value
System.
|
SliderStyleProperty
Identifies the Slider
Declaration
public static readonly DependencyProperty SliderStyleProperty
Field Value
System.
|
SmallChangeProperty
Identifies the Small
Declaration
public static readonly DependencyProperty SmallChangeProperty
Field Value
System.
|
SpecialSlotsGeneratorProperty
Identifies the Special
Declaration
public static readonly DependencyProperty SpecialSlotsGeneratorProperty
Field Value
System.
|
SpecialSlotsProperty
Identifies the Special
Declaration
public static readonly DependencyProperty SpecialSlotsProperty
Field Value
System.
|
VisiblePeriodChangedEvent
Identifies the Visible
Declaration
public static readonly RoutedEvent VisiblePeriodChangedEvent
Field Value
System.
|
VisiblePeriodEndProperty
Identifies the Visible
Declaration
public static readonly DependencyProperty VisiblePeriodEndProperty
Field Value
System.
|
VisiblePeriodProperty
Identifies the Visible
Declaration
public static readonly DependencyProperty VisiblePeriodProperty
Field Value
System.
|
VisiblePeriodStartProperty
Identifies the Visible
Declaration
public static readonly DependencyProperty VisiblePeriodStartProperty
Field Value
System.
|
Properties
ActualMinZoomRange
Gets the actual Min
Declaration
public TimeSpan ActualMinZoomRange { get; }
Property Value
System. The actual Min |
Remarks
By default, the size of the content element is restricted to 30000 pixels. This restriction is enforced by specifying a minimum zoom range
using the Actual
ActualVisiblePeriodRange
Gets the actual visible period range.
Declaration
public SelectionRange<DateTime> ActualVisiblePeriodRange { get; }
Property Value
Selection The actual visible period range. |
Remarks
When the user is dragging one of the slider thumbs, the Visible
CurrentGroupInterval
Gets the current group interval.
Declaration
public IntervalBase CurrentGroupInterval { get; }
Property Value
Interval The current group interval. |
CurrentItemInterval
Gets the current item interval.
Declaration
public IntervalBase CurrentItemInterval { get; }
Property Value
Interval The current item interval. |
GroupPeriodHeaderStyle
Gets or sets the Header
Declaration
public Style GroupPeriodHeaderStyle { get; set; }
Property Value
System. The Header |
IntervalGroups
Gets a collection of Period
Declaration
public IEnumerable<PeriodSpan> IntervalGroups { get; }
Property Value
System. A collection of Period |
Remarks
This property is for internal use only.
IntervalItems
Gets a collection of Period
Declaration
public IEnumerable<PeriodSpan> IntervalItems { get; }
Property Value
System. A collection of Period |
Remarks
This property is for internal use only.
Intervals
Gets a collection of intervals used by the control.
Declaration
public IntervalCollection Intervals { get; }
Property Value
Interval A collection of intervals used by the control. |
LargeChange
Gets or sets the System.
Declaration
public TimeSpan LargeChange { get; set; }
Property Value
System. The System. |
Remarks
This property is for internal use only.
MaxZoomRange
Gets or sets the maximum System.
Declaration
public TimeSpan MaxZoomRange { get; set; }
Property Value
System. The maximum System. |
Remarks
The Max
MinZoomRange
Gets or sets the minimum System.
Declaration
public TimeSpan MinZoomRange { get; set; }
Property Value
System. The minimum System. |
Remarks
By default, the size of the content element is restricted to 30000 pixels. This restriction is enforced by specifying a minimum zoom range
using the Actual
PeriodEnd
Gets or sets the end of the period that the control visualizes. The Period
Declaration
public DateTime PeriodEnd { get; set; }
Property Value
System. The end of the period that the control visualizes. |
Remarks
The Period
PeriodHeaderStyle
Gets or sets the Header
Declaration
public Style PeriodHeaderStyle { get; set; }
Property Value
System. The Header |
PeriodStart
Gets or sets the start of the period that the control visualizes.
Declaration
public DateTime PeriodStart { get; set; }
Property Value
System. The start of the period that the control visualizes. |
Remarks
The Period
ScrollMode
Gets or sets a value that determines how manipulation input influences the horizontal scrolling and zooming behavior of the control.
Declaration
public ScrollMode ScrollMode { get; set; }
Property Value
Scroll A value that determines how manipulation input influences the horizontal scrolling and zooming behavior of the control. The default is Scroll |
SliderStyle
Gets or sets the System.
Declaration
public Style SliderStyle { get; set; }
Property Value
System. The System. |
SmallChange
Gets or sets the System.
Declaration
public TimeSpan SmallChange { get; set; }
Property Value
System. The System. |
Remarks
This property is for internal use only.
SpecialSlots
Gets a collection of IPeriod
Declaration
public IEnumerable<IPeriodSpan> SpecialSlots { get; }
Property Value
System. A collection of IPeriod |
Remarks
This property is for internal use only.
SpecialSlotsGenerator
Gets or sets an ITime
Declaration
public ITimeRangeGenerator SpecialSlotsGenerator { get; set; }
Property Value
ITime An ITime |
VisiblePeriod
Gets or sets the visible period.
Declaration
public SelectionRange<DateTime> VisiblePeriod { get; set; }
Property Value
Selection The visible period. |
VisiblePeriodEnd
Gets or sets the end of the visible period.
Declaration
public DateTime VisiblePeriodEnd { get; set; }
Property Value
System. The end of the visible period. |
Remarks
The Visible
VisiblePeriodStart
Gets or sets the start of the visible period.
Declaration
public DateTime VisiblePeriodStart { get; set; }
Property Value
System. The start of the visible period. |
Remarks
The Visible
Methods
add_VisiblePeriodChanged(RadRoutedEventHandler)
Declaration
public void add_VisiblePeriodChanged(RadRoutedEventHandler value)
Parameters
Rad
|
ConvertPointToDateTime(Point)
Converts a point inside the control to a DateTime value relative to the timeline.
Declaration
public DateTime ConvertPointToDateTime(Point coordinates)
Parameters
System. Position inside the control. |
Returns
System. The DateTime value relative to the timeline. |
EndInit()
Indicates that the initialization process for the element is complete.
Declaration
public override void EndInit()
Exceptions
System. System. |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal
processes call System.
Declaration
public override void OnApplyTemplate()
OnGroupIntervalChanged(IntervalBase, IntervalBase)
Called when the Current
Declaration
protected virtual void OnGroupIntervalChanged(IntervalBase oldInterval, IntervalBase newInterval)
Parameters
Interval The old interval. |
Interval The new interval. |
OnInitialized(EventArgs)
Raises the System.true
internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
OnItemIntervalChanged(IntervalBase, IntervalBase)
Called when the Current
Declaration
protected virtual void OnItemIntervalChanged(IntervalBase oldInterval, IntervalBase newInterval)
Parameters
Interval The old interval. |
Interval The new interval. |
OnMouseWheel(MouseWheelEventArgs)
Raises the Mouse
Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters
System. The System. |
OnSliderSelectionChanged(Object, RadRoutedEventArgs)
Declaration
protected virtual void OnSliderSelectionChanged(object sender, RadRoutedEventArgs e)
Parameters
System. The Rad |
Rad The Rad |
OnVisiblePeriodChanged()
Called when the Visible
Declaration
protected virtual void OnVisiblePeriodChanged()
RegisterCommand(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)
Registers an System.
Declaration
protected static void RegisterCommand(ICommand command, ExecutedRoutedEventHandler executed, CanExecuteRoutedEventHandler canExecute)
Parameters
System. The System. |
System. The handler for the System. |
System. The handler for the System. |
remove_VisiblePeriodChanged(RadRoutedEventHandler)
Declaration
public void remove_VisiblePeriodChanged(RadRoutedEventHandler value)
Parameters
Rad
|
Events
ActualVisiblePeriodRangeChanged
Occurs when the actual visible period range changes.
Declaration
public event EventHandler ActualVisiblePeriodRangeChanged
Event Type
System.
|
GroupIntervalChanged
Occurs when the Current
Declaration
public event EventHandler<DrillEventArgs> GroupIntervalChanged
Event Type
System.
|
ItemIntervalChanged
Occurs when the Current
Declaration
public event EventHandler<DrillEventArgs> ItemIntervalChanged
Event Type
System.
|
VisiblePeriodChanged
Occurs when the Visible
Declaration
public event RadRoutedEventHandler VisiblePeriodChanged