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
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. |
|
Always | The time indicator is always displayed across the entire view. |
|
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). |
|
CurrentDate | The time indicator is displayed only in the Today date’s column. |
|
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. |
Related GitHub Examples
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.