Class
TimeRulerPanel

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public class TimeRulerPanel : Panel

Inheritance: objectTimeRulerPanel

Constructors

TimeRulerPanel()

Declaration

cs-api-definition
public TimeRulerPanel()

Fields

OffsetProperty

Identifies the Offset dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OffsetProperty

Field Value

DependencyProperty

OrientationProperty

Identifies the Orientation dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

Properties

Offset

Gets or sets the Offset property.

Declaration

cs-api-definition
public double Offset { get; set; }

Property Value

double

Orientation

Gets or sets the Orientation property.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

Methods

ArrangeOverride(Size)

Provides the behavior for the Arrange pass.

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

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.

CreateGroupItem()

Creates new TimeRulerGroupItem.

Declaration

cs-api-definition
protected TimeRulerGroupItem CreateGroupItem()

Returns

TimeRulerGroupItem

A new TimeRulerGroupItem.

CreateItem()

Creates new TimeRulerItem.

Declaration

cs-api-definition
protected virtual TimeRulerItem CreateItem()

Returns

TimeRulerItem

A new TimeRulerItem.

MeasureOverride(Size)

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

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

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.

OnCreateAutomationPeer()

Creates new AutomationPeer.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

A new FrameworkElementAutomationPeer.

PrepareItem(TimeRulerItemBase)

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

Declaration

cs-api-definition
protected virtual void PrepareItem(TimeRulerItemBase item)

Parameters

item

TimeRulerItemBase