Back to Devexpress

Day Headers

windowsforms-1732-controls-and-libraries-scheduler-visual-elements-scheduler-control-day-headers.md

latest1.8 KB
Original Source

Day Headers

  • Apr 23, 2018

Day Headers are located above the time cells area and are used to identify days in the Day View.

The DayHeader class contains the information required to paint the Day Header.

The table below lists properties and methods which affect the Day Header’s appearance:

|

Appearance

|

BaseHeaderAppearance.HeaderCaption provides the appearance settings for all headers except the Today header. The appearance settings used to paint the Today header are provided by the BaseHeaderAppearance.AlternateHeaderCaption property. The BaseHeaderAppearance.HeaderCaptionLine contains settings used to paint the horizontal line under the header. If a scheduler control is painted in the WindowsXP or Skin style, the appearance settings used to paint the backgrounds of day headers are ignored.

| |

Appearance Customization Event

|

Handle the SchedulerControl.LayoutViewInfoCustomizing event to access the object which contains the information used to render a visual element.

| |

Custom Draw Event

|

SchedulerControl.CustomDrawDayHeader

|

See Also

How to: Custom Paint Day Headers