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

A TimeBarPanel that positions its children according to the IPeriodSpan interval they are describing. The TimeBarNonScrollingPanel does not support scrolling.

Definition

Constructors

C#
public TimeBarNonScrollingPanel()

Methods

Calculates the offset in pixels of the specified DateTime object from the PeriodStart, that is the beginning of the panel.

C#
protected override double CalculateOffset(DateTime startDate)
Parameters:startDateDateTime

The DateTime object.

Returns:

double

The offset in pixels.

Overrides: TimeBarPanel.CalculateOffset(DateTime)

Calculates the number of pixels per tick based on the specified of the panel.

C#
protected override double CalculatePixelsPerTick(double size)
Parameters:sizedouble

The of the panel.

Returns:

double

The number of pixels per tick.

Overrides: TimeBarPanelBase.CalculatePixelsPerTick(double)