Skip to main content
A newer version of this page is available. .

TimeIndicatorDisplayOptionsBase.Visibility Property

Gets or sets a mode that specifies conditions for displaying the time indicator.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v21.1.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

[DefaultValue(TimeIndicatorVisibility.TodayView)]
public virtual TimeIndicatorVisibility Visibility { get; set; }

Property Value

Type Default Description
TimeIndicatorVisibility **TodayView**

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

Property Paths

You can access this nested property as listed below:

The following code snippets (auto-collected from DevExpress Examples) contain references to the Visibility 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