[]
        
(Showing Draft Content)

C1.WPF.Schedule.TimeRuler

TimeRuler Class

Represents UI for displaying horizontal or vertical time ruler in the C1Scheduler control template.

Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
[TemplatePart(Name = "CurrentTimeIndicator", Type = typeof(ContentControl))]
public class TimeRuler : ItemsControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage

Constructors

Name Description
TimeRuler()

Creates a new instance of TimeRuler.

Fields

Name Description
CurrentTimeTemplateProperty

Identifies the CurrentTimeTemplate dependency property.

SchedulerProperty

Identifies the Scheduler dependency property.

Properties

Name Description
CurrentTimeTemplate

Gets or sets a DataTemplate that defines a UI representation of a the current time mark. This is a dependency property.

Scheduler

References a C1Scheduler control that owns the TimeRuler.

Methods

Name Description
ArrangeOverride(Size)
OnApplyTemplate()