New to Telerik UI for WPFStart a free 30-day trial

A that stacks its children according to the IPeriodSpan interval they are describing.

Definition

Namespace:Telerik.Windows.Controls.TimeBar

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class VirtualizingTimeBarPanel : VirtualizingPanel

Inheritance: objectVirtualizingTimeBarPanel

Derived Classes: LabelMeasurementPanel

Constructors

Initializes a new instance of the VirtualizingTimeBarPanel class.

C#
public VirtualizingTimeBarPanel()

Fields

SliderProperty

DependencyProperty

Identifies the Slider dependency property.

C#
public static readonly DependencyProperty SliderProperty

Properties

Gets or sets the end of the period that the panel visualizes. The PeriodEnd value itself is excluded from the period.

C#
public DateTime PeriodEnd { get; set; }
Property Value:

The end of the period that the control visualizes.

Remarks:

The PeriodStart value must be less than or equal to the value of PeriodEnd.

Gets or sets the start of the period that the control visualizes.

C#
public DateTime PeriodStart { get; set; }
Property Value:

The start of the period that the control visualizes.

Remarks:

The PeriodStart value must be less than or equal to the value of PeriodEnd.

Gets or sets the RadSlider used to control the zooming and scrolling in this VirtualizingTimeBarPanel.

C#
public RadSlider Slider { get; set; }
Property Value:

The RadSlider used to control the zooming and scrolling in this VirtualizingTimeBarPanel.

Gets or sets the end of the visible period.

C#
public DateTime VisiblePeriodEnd { get; set; }
Property Value:

The end of the visible period.

Remarks:

The VisiblePeriodStart value must be less than or equal to the value of VisiblePeriodEnd. Additionally, both VisiblePeriodStart and VisiblePeriodEnd must be within the period, defined by the PeriodStart and PeriodEnd properties.

Gets or sets the start of the visible period.

C#
public DateTime VisiblePeriodStart { get; set; }
Property Value:

The start of the visible period.

Remarks:

The VisiblePeriodStart value must be less than or equal to the value of VisiblePeriodEnd. Additionally, both VisiblePeriodStart and VisiblePeriodEnd must be within the period, defined by the PeriodStart and PeriodEnd properties.

Methods

When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSize

The final area within the parent that this element should use to arrange itself and its children.

Returns:

Size

The actual size used.

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSize

The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.

Returns:

Size

The size that this element determines it needs during layout, based on its calculations of child element sizes.

Called when the InternalChildren collection changes.

C#
protected virtual void OnChildrenChanged()

Called when the number of pixels per tick changes.

C#
protected virtual void OnPixelsPerTickChanged(double oldValue, double newValue)
Parameters:oldValuedouble

The old number of pixels per tick.

newValuedouble

The new number of pixels per tick.