Back to Devexpress

DxSchedulerDayViewBase.TimeIndicatorVisibility Property

blazor-devexpress-dot-blazor-dot-base-dot-dxschedulerdayviewbase-9314e471.md

latest1.8 KB
Original Source

DxSchedulerDayViewBase.TimeIndicatorVisibility Property

Specifies when to show the current time indicator.

Namespace : DevExpress.Blazor.Base

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(SchedulerTimeIndicatorVisibility.TodayView)]
[Parameter]
public SchedulerTimeIndicatorVisibility TimeIndicatorVisibility { get; set; }

Property Value

TypeDefaultDescription
SchedulerTimeIndicatorVisibilityTodayView

A SchedulerTimeIndicatorVisibility enumeration value.

|

Available values:

NameDescription
Never

The current time indicator is never shown.

| | Always |

The current time indicator is always shown.

| | TodayView |

Shows the current time indicator in the Day View only.

|

Remarks

The current time indicator can be always visible/hidden or shown only in the View.

razor
<DxScheduler StartDate="@DateTime.Today" DataStorage="@DataStorage">
    <DxSchedulerDayView ShowWorkTimeOnly="true" TimeIndicatorVisibility="SchedulerTimeIndicatorVisibility.Always"></DxSchedulerDayView>
</DxScheduler>

Online Demo

Scheduler — View Types

See Also

DxSchedulerDayViewBase Class

DxSchedulerDayViewBase Members

DevExpress.Blazor.Base Namespace