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.v21.1.dll
NuGet Package: DevExpress.Wpf.Scheduler
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HorizontalWeekDateHeaderStyle property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.