DxSchedulerDayViewBase.TimeIndicatorVisibility Property
In This Article
Specifies when to show the current time indicator.
Namespace: DevExpress.Blazor.Base
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
C#
[DefaultValue(SchedulerTimeIndicatorVisibility.TodayView)]
[Parameter]
public SchedulerTimeIndicatorVisibility TimeIndicatorVisibility { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Scheduler |
Today |
A Scheduler |
Available values:
Name | Description |
---|---|
Never | The current time indicator is never shown. |
Always | The current time indicator is always shown. |
Today |
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
See Also