Skip to main content
A newer version of this page is available. .
All docs
V20.2

TimelineView.ViewMode Property

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

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduling, DevExpress.Wpf.Scheduling

Declaration

public TimelineViewMode? ViewMode { get; set; }

Property Value

Type Description
Nullable<TimelineViewMode>

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

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. To enable this view, set the ViewMode property to Standard. Custom styles and templates defined for the previous view version are not compatible.

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.

Refer to the Timeline View topic for more information.

See Also