Class TimeBarIntervalContainerBase
Base class for all interval containers. Allows visual selection of items and label string measurement.
Inherited Members
Namespace: Telerik.Windows.Controls.TimeBar
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public abstract class TimeBarIntervalContainerBase : TimeIntervalContainerBase, IRangeSelector<DateTime>
Constructors
TimeBarIntervalContainerBase()
Initializes a new instance of the TimeBarIntervalContainerBase class.
Declaration
protected TimeBarIntervalContainerBase()
Fields
SelectionChangedEvent
Identifies the SelectionChanged routed event.
Declaration
public static readonly RoutedEvent SelectionChangedEvent
Field Value
System.Windows.RoutedEvent
|
SelectionEndProperty
Identifies the SelectionEnd dependency property.
Declaration
public static readonly DependencyProperty SelectionEndProperty
Field Value
System.Windows.DependencyProperty
|
SelectionProperty
Identifies the Selection dependency property.
Declaration
public static readonly DependencyProperty SelectionProperty
Field Value
System.Windows.DependencyProperty
|
SelectionStartProperty
Identifies the SelectionStart dependency property.
Declaration
public static readonly DependencyProperty SelectionStartProperty
Field Value
System.Windows.DependencyProperty
|
Properties
IsDragging
Gets a value indicating whether the TimeBarIntervalContainerBase has logical focus and mouse capture and the left mouse button is pressed.
Declaration
protected bool IsDragging { get; }
Property Value
System.Boolean
|
Selection
Gets or sets the selected period.
Declaration
public SelectionRange<DateTime> Selection { get; set; }
Property Value
SelectionRange<System.DateTime>
The selected period. |
Implements
SelectionEnd
Gets or sets the end of the selected period.
Declaration
public DateTime SelectionEnd { get; set; }
Property Value
System.DateTime
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.DateTime
The start of the selected period. |
Implements
Methods
GetHoveredChildren(Point, Point, UIElement)
Returns the collection of child TimeBarIntervalControlBase elements of the specified System.Windows.UIElement that intersect the System.Windows.Rect defined by the specified start and end System.Windows.Points.
Declaration
protected virtual IEnumerable<TimeBarIntervalControlBase> GetHoveredChildren(Point dragStartPoint, Point dragEndPoint, UIElement subtree)
Parameters
System.Windows.Point
dragStartPoint
The first System.Windows.Point that defines the System.Windows.Rect in which to search for TimeBarIntervalControlBase children. |
System.Windows.Point
dragEndPoint
The second System.Windows.Point that defines the System.Windows.Rect in which to search for TimeBarIntervalControlBase children. |
System.Windows.UIElement
subtree
The System.Windows.UIElement subtree to traverse. |
Returns
System.Collections.Generic.IEnumerable<TimeBarIntervalControlBase>
A list of child TimeBarIntervalControlBase elements of the specified System.Windows.UIElement that intersect the System.Windows.Rect defined by the specified start and end System.Windows.Points. |
GetHoveredChildren(Point, UIElement)
Returns the collection of child TimeBarIntervalControlBase elements of the specified System.Windows.UIElement that intersect the specified System.Windows.Point.
Declaration
protected virtual IEnumerable<TimeBarIntervalControlBase> GetHoveredChildren(Point point, UIElement subtree)
Parameters
System.Windows.Point
point
The System.Windows.Point that intersects the TimeBarIntervalControlBase children. |
System.Windows.UIElement
subtree
The System.Windows.UIElement subtree to traverse. |
Returns
System.Collections.Generic.IEnumerable<TimeBarIntervalControlBase>
A list of child TimeBarIntervalControlBase elements of the specified System.Windows.UIElement that intersect the specified System.Windows.Point. |
OnMouseLeftButtonDown(MouseButtonEventArgs)
Invoked when an unhandled System.Windows.UIElement.MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed. |
OnMouseLeftButtonUp(MouseButtonEventArgs)
Invoked when an unhandled System.Windows.UIElement.MouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System.Windows.Input.MouseButtonEventArgs
e
The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was released. |
OnMouseMove(MouseEventArgs)
Called before the System.Windows.UIElement.MouseMove event occurs.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
The data for the event. |
OnSelectionChanged()
Called when the selection changed.
Declaration
protected virtual void OnSelectionChanged()
Events
SelectionChanged
Occurs when the Selection changes.
Declaration
public event RadRoutedEventHandler SelectionChanged
Event Type
RadRoutedEventHandler
|