DxSchedulerDayViewBase.ShowWorkTimeOnly Property

Specifies whether the scheduler displays only working hours in a View.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[DefaultValue(false)]
[Parameter]
public bool ShowWorkTimeOnly { get; set; }

Property Value

Type Default Description
Boolean

false

true to display only working hours; otherwise, false

Remarks

Use this property to display only the WorkTime.

<DxScheduler StartDate="@DateTime.Today" DataStorage="@DataStorage">
    <DxSchedulerDayView ShowWorkTimeOnly="true" DayCount="3"></DxSchedulerDayView>
</DxScheduler>

Scheduler - A day count in Day view

NOTE

If the ShowWorkTimeOnly option is set to true and the WorkTime and VisibleTime properties are set to different intervals, the Scheduler view displays the intersection of the specified intervals.

Online Demo

Scheduler — View Types

See Also