All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DayView.TimeMarkerStyle Property

Specifies the style of a Time Marker - an element inside the Time Ruler that marks the current time.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v21.1.dll

Declaration

[DefaultValue(TimeMarkerStyle.Default)]
[XtraSerializableProperty]
public TimeMarkerStyle TimeMarkerStyle { get; set; }

Property Value

Type Default Description
DevExpress.XtraScheduler.TimeMarkerStyle

Default

The Time Marker style.

Remarks

This property accepts three flag enumeration values:

  • Default - the Time Marker style depends on the active skin;
  • Line - the Time Marker is a line inside a Time Ruler cell;
  • Appearance - the Scheduler changes font and/or background appearance of a Time Ruler cell.

You can enable both “Line” and “Appearance” styles at the same time:

schedulerControl.DayView.TimeMarkerStyle = TimeMarkerStyle.Line | TimeMarkerStyle.Appearance;

The figure below illustrates all possible TimeMarkerStyle property values when the vector “Office 2019 Colorful” skin is active.

Time marker style

Time Marker visibility is managed by the TimeMarkerVisibility property.

Time Indicator visibility depends on the View.TimeIndicatorDisplayOptions.Visibility property value.

See Also