Class
VirtualizingTimeBarPanel

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:

cs-api-definition
public class VirtualizingTimeBarPanel : VirtualizingPanel

Inheritance: objectVirtualizingTimeBarPanel

Derived Classes: LabelMeasurementPanel

Constructors

VirtualizingTimeBarPanel()

Initializes a new instance of the VirtualizingTimeBarPanel class.

Declaration

cs-api-definition
public VirtualizingTimeBarPanel()

Fields

SliderProperty

Identifies the Slider dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SliderProperty

Field Value

DependencyProperty

Properties

PeriodEnd

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

Declaration

cs-api-definition
public DateTime PeriodEnd { get; set; }

Property Value

DateTime

The end of the period that the control visualizes.

Remarks

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

PeriodStart

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

Declaration

cs-api-definition
public DateTime PeriodStart { get; set; }

Property Value

DateTime

The start of the period that the control visualizes.

Remarks

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

Slider

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

Declaration

cs-api-definition
public RadSlider Slider { get; set; }

Property Value

RadSlider

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

VisiblePeriodEnd

Gets or sets the end of the visible period.

Declaration

cs-api-definition
public DateTime VisiblePeriodEnd { get; set; }

Property Value

DateTime

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.

VisiblePeriodStart

Gets or sets the start of the visible period.

Declaration

cs-api-definition
public DateTime VisiblePeriodStart { get; set; }

Property Value

DateTime

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

ArrangeOverride(Size)

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

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

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

Returns

Size

The actual size used.

MeasureOverride(Size)

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

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

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.

OnChildrenChanged()

Called when the InternalChildren collection changes.

Declaration

cs-api-definition
protected virtual void OnChildrenChanged()

OnPixelsPerTickChanged(double, double)

Called when the number of pixels per tick changes.

Declaration

cs-api-definition
protected virtual void OnPixelsPerTickChanged(double oldValue, double newValue)

Parameters

oldValue

double

The old number of pixels per tick.

newValue

double

The new number of pixels per tick.