Skip to main content
A newer version of this page is available. .

DxSchedulerDayViewBase.ShowWorkTimeOnly Property

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

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

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>

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