Skip to main content
A newer version of this page is available. .

Timeline View

  • 3 minutes to read

This document introduces the SchedulerControl‘s Timeline view.

The Timeline view displays appointments as horizontal bars along the timescales and provides end-users with a better overview for scheduling purposes. To show the view, set the SchedulerControl.ActiveViewIndex property to the necessary view index in the SchedulerControl.Views collection, which stores all views defined in the scheduler.

Note

The SchedulerControl has all views with the default settings enabled out-of-the-box. If you declare any view in XAML or create views using the SchedulerControl’s smart tag, only the declared views become available. You can specify any number of views with the same type and different settings.

WPFScheduler_TimelineView

The Timeline view is the TimelineView class in the Scheduler API. It inherits the ViewBase base class.

The following properties affect the view’s appearance and functionality:

Property Description
SchedulerControl.GroupType Gets or sets the type of grouping applied to the Scheduler. This is a dependency property.
TimelineView.IntervalCount Gets or sets the number of time intervals displayed in the timeline view.
SchedulerViewBase.ResourcesPerPage Gets or sets the maximum number of simultaneously displayed resources. This is a dependency property.
SchedulerViewBase.ShowResourceHeaders Gets or sets whether to display resource headers. This is a dependency property.
SchedulerViewBase.ShowResourceNavigator Gets or sets whether to display the resource navigator. This is a dependency property.
SchedulerViewBase.ShowDayHeaders Gets or sets whether to display day headers. This is a dependency property.
TimelineView.TimeScales Provides access to a collection of time scales available in the Timeline View. This is a dependency property.
TimeScaleBase.ShowHeaders Gets or sets whether to display the timeline headers. This is a dependency property.
TimelineView.SnapToCellsMode Gets or sets the method of snapping appointments to time cells in the Timeline View. This is a dependency property.
TimelineView.AppointmentMinHeight Gets or sets the minimum height of appointments in the Timeline View. This is a dependency property.
TimelineView.AppointmentMinWidth Gets or sets the minimum width of appointments in the Timeline View. This is a dependency property.
TimelineView.StretchAppointments Gets or sets a value indicating whether appointments in the Timeline View should be stretched to fill the time cells. This is a dependency property.
TimelineView.ResourceAutoHeight Automatically adjust the resource row height to fit all appointments in a row. The scheduler should be grouped by resources or dates.
TimelineView.ResourceMinHeight Gets or sets the resource row’s minimum height when the TimelineView.ResourceAutoHeight is true. This is a dependency property.
SchedulerViewBase.NavigationButtonsVisibility Gets or sets whether to display navigation buttons. This is a dependency property.
SchedulerViewBase.MoreButtonsVisibility
TimelineView.TimeIndicatorVisibility Gets or sets whether a time indicator is displayed. This is a dependency property.
TimelineView.ShowTimeIndicatorOverAppointment Gets or sets a value indicating whether the Time Indicator is displayed above the appointments. This is a dependency property.
TimelineView.GroupSeparatorSize
TimelineView.HorizontalScrollBarVisibility Gets or sets the horizontal scrollbar visibility mode. This is a dependency property.
TimelineView.VerticalScrollBarVisibility Gets or sets the vertical scrollbar visibility mode This is a dependency property.