New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public sealed class TimelineViewDefinition : MultidayViewDefinition, INotifyPropertyChanged, ISlotConvertor

Inheritance: objectViewDefinitionBaseMultidayViewDefinitionTimelineViewDefinition

Implements: INotifyPropertyChangedISlotConvertor

Inherited Members MultidayViewDefinition.GroupHeaderDateStringFormatPropertyMultidayViewDefinition.OrientationPropertyMultidayViewDefinition.MinorTickLengthPropertyMultidayViewDefinition.MajorTickLengthPropertyMultidayViewDefinition.TimerulerMinorTickStringFormatPropertyMultidayViewDefinition.GetOrientation()MultidayViewDefinition.GroupHeaderDateStringFormatMultidayViewDefinition.OrientationMultidayViewDefinition.MinorTickLengthMultidayViewDefinition.MajorTickLengthMultidayViewDefinition.TimerulerMinorTickStringFormatViewDefinitionBase.CalendarWeekRulePropertyViewDefinitionBase.StretchGroupHeadersPropertyViewDefinitionBase.TitlePropertyViewDefinitionBase.LargeChangeIntervalPropertyViewDefinitionBase.SmallChangeIntervalPropertyViewDefinitionBase.DayEndTimePropertyViewDefinitionBase.DayStartTimePropertyViewDefinitionBase.VisibleDaysPropertyViewDefinitionBase.FirstDayOfWeekPropertyViewDefinitionBase.MinTimeRulerExtentPropertyViewDefinitionBase.MaxTimeRulerExtentPropertyViewDefinitionBase.SubGroupsFilterPropertyViewDefinitionBase.GroupFilterPropertyViewDefinitionBase.AppointmentFilterPropertyViewDefinitionBase.OccurrenceFilterPropertyViewDefinitionBase.TimerulerMajorTickStringFormatPropertyViewDefinitionBase.SlotGenarationBehaviorPropertyViewDefinitionBase.SnapBehaviorPropertyViewDefinitionBase.ToString()ViewDefinitionBase.CalendarWeekRuleViewDefinitionBase.StretchGroupHeadersViewDefinitionBase.TitleViewDefinitionBase.LargeChangeIntervalViewDefinitionBase.SmallChangeIntervalViewDefinitionBase.FirstDayOfWeekViewDefinitionBase.VisibleDaysViewDefinitionBase.DayEndTimeViewDefinitionBase.DayStartTimeViewDefinitionBase.MinTimeRulerExtentViewDefinitionBase.MaxTimeRulerExtentViewDefinitionBase.SubGroupsFilterViewDefinitionBase.GroupFilterViewDefinitionBase.AppointmentFilterViewDefinitionBase.OccurrenceFilterViewDefinitionBase.TimerulerMajorTickStringFormatViewDefinitionBase.SlotGenarationBehaviorViewDefinitionBase.SnapBehaviorViewDefinitionBase.ShowTimeRulerViewDefinitionBase.PropertyChanged...

Constructors

C#
public TimelineViewDefinition()

Fields

Identifies the ApplyStartEndTimeToEachDay dependency property.

C#
public static readonly DependencyProperty ApplyStartEndTimeToEachDayProperty

GroupTickLengthProperty

DependencyProperty

Identifies the GroupTickLength dependency property.

C#
public static readonly DependencyProperty GroupTickLengthProperty

StretchAppointmentsProperty

DependencyProperty

Identifies the StretchAppointments dependency property.

C#
public static readonly DependencyProperty StretchAppointmentsProperty

Identifies the TimerulerGroupStringFormat dependency property.

C#
public static readonly DependencyProperty TimerulerGroupStringFormatProperty
Field Value:

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.

C#
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.

C#
protected override DateGroupDescription DateGroupDescription { get; }

Overrides: MultidayViewDefinition.DateGroupDescription

Gets or sets the length of GroupTicks. This is a dependency property.

C#
public ITickProvider GroupTickLength { get; set; }

Gets or sets whether appointments will be stretched or not.

C#
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.

C#
public string TimerulerGroupStringFormat { get; set; }

Methods

Creates a new instance of the TimelineViewDefinition class.

C#
protected override Freezable CreateInstanceCore()
Returns:

Freezable

The new instance.

If group name is DateTime this method formats the group name using the GroupHeaderDateStringFormat.

C#
protected override string FormatGroupHeaderName(IFormatProvider formatInfo, object groupName)
Parameters:formatInfoIFormatProvider

The format info provider to be used for formatting.

groupNameobject

The group name to format.

Returns:

string

The formatted group name.

Overrides: MultidayViewDefinition.FormatGroupHeaderName(IFormatProvider, object)

Creates new instance of FixedTickProvider if the GroupTickLength has value. Otherwise, returns the GroupTickLength object.

C#
protected ITickProvider GetGroupTickLength()
Returns:

ITickProvider