ClassVirtualizingTimeBarPanel
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:
public class VirtualizingTimeBarPanel : VirtualizingPanel
Inheritance: objectVirtualizingTimeBarPanel
Derived Classes:
Constructors
VirtualizingTimeBarPanel()
Initializes a new instance of the VirtualizingTimeBarPanel class.
Declaration
public VirtualizingTimeBarPanel()
Fields
SliderProperty
Identifies the Slider dependency property.
Declaration
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
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.
PeriodStart
Gets or sets the start of the period that the control visualizes.
Declaration
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.
Slider
Gets or sets the RadSlider used to control the zooming and scrolling in this VirtualizingTimeBarPanel.
Declaration
public RadSlider Slider { get; set; }
Property Value
The RadSlider used to control the zooming and scrolling in this VirtualizingTimeBarPanel.
VisiblePeriodEnd
Gets or sets the end of the visible period.
Declaration
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.
VisiblePeriodStart
Gets or sets the start of the visible period.
Declaration
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
ArrangeOverride(Size)
When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.
Declaration
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
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
protected virtual void OnChildrenChanged()
OnPixelsPerTickChanged(double, double)
Called when the number of pixels per tick changes.