Class TimeRulerLinesPanel
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class TimeRulerLinesPanel : Panel
Constructors
TimeRulerLinesPanel()
Declaration
public TimeRulerLinesPanel()
Fields
OrientationProperty
Identifies the Orientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.Windows.DependencyProperty
|
PixelLengthProperty
Identifies the PixelLength dependency property.
Declaration
public static readonly DependencyProperty PixelLengthProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Orientation
Gets or sets the Orientation property.
Declaration
public Orientation Orientation { get; set; }
Property Value
System.Windows.Controls.Orientation
|
PixelLength
Gets or sets the PixelLength property.
Declaration
public TimeSpan PixelLength { get; set; }
Property Value
System.TimeSpan
|
Methods
ArrangeOverride(Size)
Provides the behavior for the Arrange pass.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The final area within the parent that this object should use to arrange itself and its children. |
Returns
System.Windows.Size
The actual size that is used after the element is arranged in layout. |
CreateItem()
Creates new TimeRulerLine item.
Declaration
protected TimeRulerLine CreateItem()
Returns
TimeRulerLine
New TimeRulerLine item. |
MeasureOverride(Size)
Calculates the size that this object will need after the Measure pass.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
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
System.Windows.Size
The size that this object determines it needs during layout. |
PrepareItem(TimeRulerItemBase)
Prepares the TimeRulerItem - applies its style and DataTemplate.
Declaration
protected virtual void PrepareItem(TimeRulerItemBase item)
Parameters
TimeRulerItemBase
item
The TimeRulerItemBase. |