windowsforms-devexpress-dot-xtrascheduler-dot-dayview-0a1d17a8.md
Specifies the style of a Time Marker - an element inside the Time Ruler that marks the current time.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
[DefaultValue(TimeMarkerStyle.Default)]
[XtraSerializableProperty]
public TimeMarkerStyle TimeMarkerStyle { get; set; }
<DefaultValue(TimeMarkerStyle.Default)>
<XtraSerializableProperty>
Public Property TimeMarkerStyle As TimeMarkerStyle
| Type | Default | Description |
|---|---|---|
| DevExpress.XtraScheduler.TimeMarkerStyle | Default |
The Time Marker style.
|
This property accepts three flag enumeration values:
You can enable both “Line” and “Appearance” styles at the same time:
schedulerControl.DayView.TimeMarkerStyle = TimeMarkerStyle.Line | TimeMarkerStyle.Appearance;
schedulerControl.DayView.TimeMarkerStyle = TimeMarkerStyle.Line Or TimeMarkerStyle.Appearance
The figure below illustrates all possible TimeMarkerStyle property values when the vector “Office 2019 Colorful” skin is active.
Time Marker visibility is managed by the TimeMarkerVisibility property.
Time Indicator visibility depends on the View.TimeIndicatorDisplayOptions.Visibility property value.
See Also