Skip to main content
A newer version of this page is available. .

DayViewAppearance.TimeRulerHourLine Property

Gets the appearance settings for the hour lines inside the Day View’s time ruler. Custom appearance settings are in effect only when the Scheduler is not skinned.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.dll

Declaration

[XtraSerializableProperty(XtraSerializationVisibility.Content)]
public AppearanceObject TimeRulerHourLine { get; }

Property Value

Type Description
AppearanceObject

A AppearanceObject object that provides the appearance settings for the time ruler‘s hour lines.

Remarks

The figure below illustrates hour lines with a custom “Backcolor” value inside the Time Ruler. Note that the custom Fuchsia color is visible only on the right snapshot, where the LookAndFeel.Style property equals “Flat”.

hourline

Time ruler hour lines can also be custom painted on the SchedulerControl.CustomDrawDayViewTimeRuler event.

For more information on appearances, see the Appearances document.

See Also