Class VirtualizingTimeBarPanel
A System.Windows.Controls.VirtualizingPanel that stacks its children according to the IPeriodSpan interval they are describing.
Inheritance
Namespace: Telerik.Windows.Controls.TimeBar
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class VirtualizingTimeBarPanel : VirtualizingPanel
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
System.Windows.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
System.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
public DateTime PeriodStart { get; set; }
Property Value
System.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
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
public DateTime VisiblePeriodEnd { get; set; }
Property Value
System.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
public DateTime VisiblePeriodStart { get; set; }
Property Value
System.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 System.Windows.FrameworkElement derived class.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The final area within the parent that this element should use to arrange itself and its children. |
Returns
System.Windows.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 System.Windows.FrameworkElement-derived class.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
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
System.Windows.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.
Declaration
protected virtual void OnPixelsPerTickChanged(double oldValue, double newValue)
Parameters
System.Double
oldValue
The old number of pixels per tick. |
System.Double
newValue
The new number of pixels per tick. |