Skip to main content

TimeMarkerVisibility Enum

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

Namespace: DevExpress.XtraScheduler

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


public enum TimeMarkerVisibility


Name Description

TimeMarker is always hidden.


TimeMarker is always displayed.


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
ASP.NET Web Forms Controls DayView.TimeMarkerVisibility


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


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.


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