TimeIndicator Class
A horizontal line that marks the specified time value.
Namespace: DevExpress.UI.Xaml.Scheduler
Assembly: DevExpress.UI.Xaml.Scheduler.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
Remarks
The image below shows a time indicator.
The DayView, WorkWeekView, WeekView can display time indicators. Use the view’s TimeIndicators property to access the collection of time indicators. This collection initially contains an indicator that displays the current time (its TrackCurrentTime property is set to true). To add new time indicators in XAML while preserving the default indicator, add them directly to the TimeIndicators content. The code snippet below illustrates this scenario.
<dxsch:DayView >
<dxsch:DayView.TimeIndicators>
<dxsch:TimeIndicator />
</dxsch:DayView.TimeIndicators>
</dxsch:DayView>
To remove the default time indicator, add a new TimeIndicatorCollection to the TimeIndicators property. See the code snippet below.
<dxsch:DayView >
<dxsch:DayView.TimeIndicators>
<dxsch:TimeIndicatorCollection>
<dxsch:TimeIndicator />
</dxsch:TimeIndicatorCollection>
</dxsch:DayView.TimeIndicators>
</dxsch:DayView>
The view’s DayViewBase.TimeIndicatorVisibility property specifies days for which to display time indicators.
The view’s DayViewBase.ShowTimeIndicatorOverAppointment property specifies whether time indicators overlap appointments.