Skip to main content
All docs
V24.2

TimelineView.ViewMode Property

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

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public TimelineViewMode? ViewMode { get; set; }

Property Value

Type Description
Nullable<TimelineViewMode>

A TimelineViewMode enumeration value.

Available values:

Name Description
Legacy

The default view mode used for compatibility purposes.

Standard

The updated TimelineView.

Remarks

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