skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TimeBarIntervalContainerBase

Base class for all interval containers. Allows visual selection of items and label string measurement.

Inheritance
System.Object
TimeIntervalContainerBase
TimeBarIntervalContainerBase
GroupContainer
ItemContainer
Inherited Members
TimeIntervalContainerBase.ItemHeaderStyleProperty
TimeIntervalContainerBase.OnApplyTemplate()
TimeIntervalContainerBase.PrepareContainerForItemOverride(DependencyObject, Object)
TimeIntervalContainerBase.ItemHeaderStyle
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
IRangeSelector<T>.Selection

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
IRangeSelector<T>.SelectionEnd

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
IRangeSelector<T>.SelectionStart

Methods

add_SelectionChanged(RadRoutedEventHandler)

Declaration
public void add_SelectionChanged(RadRoutedEventHandler value)
Parameters
RadRoutedEventHandler value

Implements
IRangeSelector<T>.add_SelectionChanged(RadRoutedEventHandler)

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()

remove_SelectionChanged(RadRoutedEventHandler)

Declaration
public void remove_SelectionChanged(RadRoutedEventHandler value)
Parameters
RadRoutedEventHandler value

Implements
IRangeSelector<T>.remove_SelectionChanged(RadRoutedEventHandler)

Events

SelectionChanged

Occurs when the Selection changes.

Declaration
public event RadRoutedEventHandler SelectionChanged
Event Type
RadRoutedEventHandler

Implements
IRangeSelector<T>.SelectionChanged

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.