DxSchedulerDayViewBase.ShowWorkTimeOnly Property
In This Article
Specifies whether the scheduler displays only working hours in a View.
Namespace: DevExpress.Blazor.Base
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
C#
[DefaultValue(false)]
[Parameter]
public bool ShowWorkTimeOnly { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
#Remarks
Use this property to display only the WorkTime.
Razor
<DxScheduler StartDate="@DateTime.Today" DataStorage="@DataStorage">
<DxSchedulerDayView ShowWorkTimeOnly="true" DayCount="3"></DxSchedulerDayView>
</DxScheduler>
If you set the ShowWorkTimeOnly
property to true
, the Scheduler displays the time interval specified by the WorkTime property. Otherwise, the component displays the VisibleTime interval.
See Also