The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V19.1
19.2 (EAP/Beta)
19.1
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

TimeIndicator Class

A horizontal line that marks the specified time value.

Namespace: DevExpress.UI.Xaml.Scheduler

Assembly: DevExpress.UI.Xaml.Scheduler.v19.1.dll

Declaration

[Bindable]
public class TimeIndicator :
    LogicalContentElement<ViewBase>
<Bindable>
Public Class TimeIndicator
    Inherits LogicalContentElement(Of ViewBase)

Remarks

The image below shows a time indicator.

Win10 Scheduler 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.

Inheritance

Object
DependencyObject
DevExpress.UI.Xaml.Internal.LogicalElement
DevExpress.UI.Xaml.Internal.LogicalContentElement
DevExpress.UI.Xaml.Internal.LogicalContentElement<DevExpress.UI.Xaml.Scheduler.Internal.ViewBase>
TimeIndicator
See Also