Skip to main content

TimeIndicatorDisplayOptionsBase.Visibility Property

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v23.2.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

See Also