Class TimeBarNonScrollingPanel
A TimeBarPanel that positions its children according to the IPeriodSpan interval they are describing. The TimeBarNonScrollingPanel does not support scrolling.
Inherited Members
Namespace: Telerik.Windows.Controls.TimeBar
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class TimeBarNonScrollingPanel : TimeBarPanel
Constructors
TimeBarNonScrollingPanel()
Declaration
public TimeBarNonScrollingPanel()
Methods
CalculateOffset(DateTime)
Calculates the offset in pixels of the specified System.DateTime object from the PeriodStart, that is the beginning of the panel.
Declaration
protected override double CalculateOffset(DateTime startDate)
Parameters
System.DateTime
startDate
The System.DateTime object. |
Returns
System.Double
The offset in pixels. |
Overrides
CalculatePixelsPerTick(Double)
Calculates the number of pixels per tick based on the specified System.Windows.FrameworkElement.Width of the panel.
Declaration
protected override double CalculatePixelsPerTick(double size)
Parameters
System.Double
size
The System.Windows.FrameworkElement.Width of the panel. |
Returns
System.Double
The number of pixels per tick. |