Represents a definition of a view that shows customizable number of days as in day view mode.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public sealed class TimelineViewDefinition : MultidayViewDefinition, INotifyPropertyChanged, ISlotConvertor
Inheritance: objectViewDefinitionBaseMultidayViewDefinitionTimelineViewDefinition
Implements:
Inherited Members
Constructors
public TimelineViewDefinition()
Fields
ApplyStartEndTimeToEachDayProperty
DependencyProperty
Identifies the ApplyStartEndTimeToEachDay dependency property.
public static readonly DependencyProperty ApplyStartEndTimeToEachDayProperty
GroupTickLengthProperty
DependencyProperty
Identifies the GroupTickLength dependency property.
public static readonly DependencyProperty GroupTickLengthProperty
StretchAppointmentsProperty
DependencyProperty
Identifies the StretchAppointments dependency property.
public static readonly DependencyProperty StretchAppointmentsProperty
TimerulerGroupStringFormatProperty
DependencyProperty
Identifies the TimerulerGroupStringFormat dependency property.
public static readonly DependencyProperty TimerulerGroupStringFormatProperty
The identifier for the TimerulerGroupStringFormat property.
Properties
Gets or sets whether the DayStartTime and DayEndTime properties should be applied to each of the days. This is a dependency property.
public bool ApplyStartEndTimeToEachDay { get; set; }
Returns null. Timeline view is not allowed to group by date. If you want to group by date use WeekViewDefinition.
protected override DateGroupDescription DateGroupDescription { get; }
Overrides:
Gets or sets the length of GroupTicks. This is a dependency property.
public ITickProvider GroupTickLength { get; set; }
Gets or sets whether appointments will be stretched or not.
public bool StretchAppointments { get; set; }
Gets or sets the format that will be applied on the time ruler of each group. This is a dependency property.
public string TimerulerGroupStringFormat { get; set; }
Methods
CreateInstanceCore()
Freezable
Creates a new instance of the TimelineViewDefinition class.
protected override Freezable CreateInstanceCore()
Freezable
The new instance.
If group name is DateTime this method formats the group name using the GroupHeaderDateStringFormat.
protected override string FormatGroupHeaderName(IFormatProvider formatInfo, object groupName)
The format info provider to be used for formatting.
groupNameobjectThe group name to format.
Returns:The formatted group name.
Overrides:
Creates new instance of FixedTickProvider if the GroupTickLength has value. Otherwise, returns the GroupTickLength object.