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

TimeMarkerVisibility Enum

Lists modes which determine how the time marker on the TimeRuler is displayed.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.1.Core.dll

Declaration

public enum TimeMarkerVisibility

Members

Name Description
Never

TimeMarker is always hidden.

Always

TimeMarker is always displayed.

TodayView

Displays the time marker if the view contains the current date.

Related API Members

The following properties accept/return TimeMarkerVisibility values:

Library Related API Members
Cross-Platform Class Library TimeRuler.TimeMarkerVisibility
WinForms Controls DayView.TimeMarkerVisibility
WPF Controls DayView.TimeMarkerVisibility
DayViewBase.TimeMarkerVisibility
ASP.NET Web Forms Controls DayView.TimeMarkerVisibility

Remarks

A TimeMarker is the visual element located on the TimeRuler which points to the current time.

TimeMarkerIndicator

The TimeMarkerVisibility enumeration is used to specify the TimeRuler.TimeMarkerVisibility property value for a particular time ruler.

For all time rulers with the TimeRuler.TimeMarkerVisibility property set to null (default value), the following property specifies time marker display mode for different platforms:

Platform Property
WinForms DayView.TimeMarkerVisibility
WPF DayView.TimeMarkerVisibility
ASP.NET DayView.TimeMarkerVisibility

The following code snippets (auto-collected from DevExpress Examples) contain references to the TimeMarkerVisibility enum.

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