Back to Devexpress

DayViewAppearance.TimeRulerHourLine Property

windowsforms-devexpress-dot-xtrascheduler-dot-dayviewappearance-df1dc000.md

latest2.7 KB
Original Source

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

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
[XtraSerializableProperty(XtraSerializationVisibility.Content)]
public AppearanceObject TimeRulerHourLine { get; }
vb
<XtraSerializableProperty(XtraSerializationVisibility.Content)>
Public ReadOnly Property TimeRulerHourLine As AppearanceObject

Property Value

TypeDescription
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”.

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

TimeRulerLine

CustomDrawDayViewTimeRuler

DayViewAppearance Class

DayViewAppearance Members

DevExpress.XtraScheduler Namespace