Skip to main content

DayViewBase.TimeIndicatorVisibility Property

Gets or sets a mode that specifies how to display the Time Indicator in the Day View, Work Week View, and Week View. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public TimeIndicatorVisibility TimeIndicatorVisibility { get; set; }

Property Value

Type Description
TimeIndicatorVisibility

A TimeIndicatorVisibility enumeration member. The default is TimeIndicatorVisibility.TodayView.

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TimeIndicatorVisibility property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also