Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    TimelineView.ViewMode Property

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

    Namespace: DevExpress.Xpf.Scheduling

    Assembly: DevExpress.Xpf.Scheduling.v25.1.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