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

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public class TimeRulerLinesPanel : Panel

Inheritance: objectTimeRulerLinesPanel

Constructors

C#
public TimeRulerLinesPanel()

Fields

OrientationProperty

DependencyProperty

Identifies the Orientation dependency property.

C#
public static readonly DependencyProperty OrientationProperty

PixelLengthProperty

DependencyProperty

Identifies the PixelLength dependency property.

C#
public static readonly DependencyProperty PixelLengthProperty

Properties

Orientation

Orientation

Gets or sets the Orientation property.

C#
public Orientation Orientation { get; set; }

Gets or sets the PixelLength property.

C#
public TimeSpan PixelLength { get; set; }

Methods

Provides the behavior for the Arrange pass.

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSize

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

Returns:

Size

The actual size that is used after the element is arranged in layout.

Creates new TimeRulerLine item.

C#
protected TimeRulerLine CreateItem()
Returns:

TimeRulerLine

New TimeRulerLine item.

Calculates the size that this object will need after the Measure pass.

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSize

The available size that this object can give to child objects. Infinity (System.Double.PositiveInfinity) can be specified as a value to indicate that the object will size to whatever content is available.

Returns:

Size

The size that this object determines it needs during layout.

Prepares the TimeRulerItem - applies its style and DataTemplate.

C#
protected virtual void PrepareItem(TimeRulerItemBase item)
Parameters:itemTimeRulerItemBase

The TimeRulerItemBase.