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 TimeRulerPanel : Panel

Inheritance: objectTimeRulerPanel

Constructors

C#
public TimeRulerPanel()

Fields

OffsetProperty

DependencyProperty

Identifies the Offset dependency property.

C#
public static readonly DependencyProperty OffsetProperty

OrientationProperty

DependencyProperty

Identifies the Orientation dependency property.

C#
public static readonly DependencyProperty OrientationProperty

Properties

Gets or sets the Offset property.

C#
public double Offset { get; set; }

Orientation

Orientation

Gets or sets the Orientation property.

C#
public Orientation Orientation { 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 TimeRulerGroupItem.

C#
protected TimeRulerGroupItem CreateGroupItem()
Returns:

TimeRulerGroupItem

A new TimeRulerGroupItem.

Creates new TimeRulerItem.

C#
protected virtual TimeRulerItem CreateItem()
Returns:

TimeRulerItem

A new TimeRulerItem.

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.

Creates new AutomationPeer.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

A new FrameworkElementAutomationPeer.

Prepares the items of the TimeRulerPanel - applies its styles and templates.

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