Skip to main content

VisualDayViewGroupByDate.TimeIndicatorVisibility Property

Specifies whether to display Time Indicator in the Day or Work-Week view when appointments are grouped by dates.

Namespace: DevExpress.Xpf.Scheduler.Drawing

Assembly: DevExpress.Xpf.Scheduler.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public TimeIndicatorVisibility TimeIndicatorVisibility { get; set; }

Property Value

Type Description
TimeIndicatorVisibility

A TimeIndicatorVisibility enumeration member.

Available values:

Name Description Image
Never

The time indicator is hidden.

never

Always

The time indicator is always displayed across the entire view.

always

TodayView

If the current interval includes the today day column, the indicator is displayed for all days (equal to the “Always” value). If there is no today date in the current interval, the indicator is hidden (equal to the “Never” value).

Current View

CurrentDate

The time indicator is displayed only in the Today date’s column.

current date

DaysBeforeToday

The time indicator is drawn only if the current interval includes the today date (same as in “TodayView” mode), and only inside columns that precede the today column.

days before today

Remarks

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

The TimeIndicatorVisibility property can be used when the DayView or WorkWeekView is the current active view and appointments are grouped by dates in the SchedulerControl.

To access the VisualDayViewGroupByDate object for obtaining the value of the TimeIndicatorVisibility property, you can use the SchedulerViewBase.VisualViewInfo property of the object returned by the SchedulerControl.ActiveView property. To set the TimeIndicatorVisibility property value, handle the SchedulerControl.CustomizeVisualViewInfo event. Its parameter’s CustomizeVisualViewInfoEventArgs.VisualViewInfo property returns the VisualDayViewGroupByDate object.

See Also