Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#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