Skip to main content

DayView.TimeMarkerVisibility Property

Gets or sets the visibility mode of the Time Marker for all time rulers of the view.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v21.2.dll

Declaration

[DefaultValue(TimeMarkerVisibility.TodayView)]
public TimeMarkerVisibility TimeMarkerVisibility { get; set; }

Property Value

Type Default Description
TimeMarkerVisibility

TodayView

A TimeMarkerVisibility enumeration member.

Available values:

Name Description
Never

TimeMarker is always hidden.

Always

TimeMarker is always displayed.

TodayView

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

Remarks

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

For a particular Time Ruler, the visibility mode can be specified using the TimeRuler.TimeMarkerVisibility property.

See Also