Skip to main content
All docs
V25.1
  • DxSchedulerTimelineView.ShowAppointmentDateTimeRange Property

    Specifies whether appointment time spans are visible.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [DefaultValue(true)]
    [Parameter]
    public bool ShowAppointmentDateTimeRange { get; set; }

    Property Value

    Type Default Description
    Boolean true

    true to display time spans; otherwise, false.

    Remarks

    The Scheduler Timeline view displays appointment time spans:

    Timeline View - Date-Time Range is Visible

    Set the ShowAppointmentDateTimeRange property to false to hide appointment date-time ranges (use compact display mode). This setting is useful if you need to display lots of appointments and have limited screen space available.

    <DxScheduler StartDate="DateTime.Now"
                 DataStorage="@DataStorage"
                 ResourceNavigatorVisible="false">
            <DxSchedulerTimelineView Duration="TimeSpan.FromHours(48)" 
                                     CellMinWidth="80" 
                                     ShowAppointmentDateTimeRange="false">
                <Scales>
                    <DxSchedulerTimeScale Unit="SchedulerTimeScaleUnit.Day" UnitCount="1"></DxSchedulerTimeScale>
                    <DxSchedulerTimeScale Unit="SchedulerTimeScaleUnit.Hour" UnitCount="2"></DxSchedulerTimeScale>
                </Scales>
            </DxSchedulerTimelineView>
    </DxScheduler>
    

    Timeline View - Date-Time Range is not Visible

    See Also