Skip to main content

WeekViewBase.HorizontalWeekDateHeaderStyle Property

Gets or sets a style of day headers displayed in the Week View when appointments are grouped by date, and always gets or sets the style of the Month View.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v23.2.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public Style HorizontalWeekDateHeaderStyle { get; set; }

Property Value

Type Description
Style

A Style object that represents a style to be applied to day headers.

Remarks

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

Weeks are displayed horizontally in the Scheduler control’s Week View when appointments are grouped by date, and always displayed horizontally in the Month View. To specify the style to be applied to day headers of horizontal weeks, use the HorizontalWeekDateHeaderStyle property. However, when appointments are grouped by resources or no grouping is applied, in the Week View weeks are displayed vertically. In this case, use the WeekView.VerticalWeekCellStyle property to specify the style of day headers.

The HorizontalWeekDateHeaderStyle property specifies the style that groups together properties, resources, and event handlers, and shares them between instances of the VisualDateCellHeader type.

Target Type: VisualDateCellHeader

To learn more, see Styles and Templates.

See Also