Skip to main content
All docs

TimelineView.ViewMode Property

Allows you to switch to the updated version of the Timeline View.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v23.1.dll

NuGet Package: DevExpress.Wpf.Scheduling


public TimelineViewMode? ViewMode { get; set; }

Property Value

Type Description

A DevExpress.Xpf.Scheduling.TimelineViewMode enumeration value. By default, Legacy.

Available values:

Name Description

The default view mode used for compatibility purposes.


The updated TimelineView.


v20.2 introduces an updated Timeline view that is enabled by default.

The updated Timeline view features the following enhancements over the previous version:

  • TimeScale is a new universal time scale that adapts to the current zoom level.

  • Per-pixel horizontal and vertical scrolling.

  • Resources with multiple appointments that occupy the same time slot can be expanded/collapsed.

  • Resource height adapts to uniformly fill the viewport.

Custom styles and templates defined for the Legacy view version are not compatible. Set the ViewMode property to Legacy to revert to the previous view version.

Refer to the Timeline View topic to get information about the API compatibility.

See Also