corelibraries-devexpress-dot-xtrascheduler-d5f7d14e.md
Lists modes which determine how the time marker on the TimeRuler is displayed.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll
NuGet Package : DevExpress.Scheduler.CoreDesktop
public enum TimeMarkerVisibility
Public Enum TimeMarkerVisibility
| Name | Description |
|---|---|
Never |
TimeMarker is always hidden.
|
| Always |
TimeMarker is always displayed.
|
| TodayView |
Displays the time marker if the view contains the current date.
|
The following properties accept/return TimeMarkerVisibility values:
| Library | Related API Members |
|---|---|
| Cross-Platform Class Library | TimeRuler.TimeMarkerVisibility |
| WinForms Controls | DayView.TimeMarkerVisibility |
| WPF Controls | DayViewBase.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 |
| ASP.NET | DayView.TimeMarkerVisibility |
See Also