The requested page is not available for the requested platform. You are viewing the content for Default platform.

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>
Public Class TimeIndicator
    Inherits LogicalContentElement(Of ViewBase)
    Implements

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
DevExpress.UI.Xaml.Internal.LogicalElement
DevExpress.UI.Xaml.Internal.LogicalContentElement
DevExpress.UI.Xaml.Internal.LogicalContentElement<DevExpress.UI.Xaml.Scheduler.Internal.ViewBase>
TimeIndicator

Implements

DevExpress.UI.Xaml.Internal.ILogicalChildEx
DevExpress.UI.Xaml.Core.Internal.ILogicalChild
DevExpress.UI.Xaml.Internal.ILogicalOwnerEx
DevExpress.UI.Xaml.Core.Internal.ILogicalOwner
DevExpress.UI.Xaml.Internal.ISupportOwner<DevExpress.UI.Xaml.Scheduler.Internal.ViewBase>
See Also