DxSchedulerDayViewBase.VisibleTime Property

Specifies the visible time interval.

Namespace: DevExpress.Blazor.Base

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
public DxSchedulerTimeSpanRange VisibleTime { get; set; }

Property Value

Type Description
DxSchedulerTimeSpanRange

Specifies the visible time interval.

Remarks

Use this property to specify the visible time in the View.

<DxScheduler StartDate="@DateTime.Today" DataStorage="@DataStorage">
    <DxSchedulerDayView VisibleTime="@VisibleTime"></DxSchedulerDayView>
</DxScheduler>

@code {
    // ...
    DxSchedulerTimeSpanRange VisibleTime = new DxSchedulerTimeSpanRange(TimeSpan.FromHours(9), TimeSpan.FromHours(18));
}

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