WeekViewBase.HorizontalWeekCellStyle Property

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

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v20.1.dll

Declaration

public Style HorizontalWeekCellStyle { get; set; }
Public Property HorizontalWeekCellStyle As Style

Property Value

Type Description
Style

A Style object that represents a style to be applied to time cells.

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 the time cells of horizontal weeks, use the HorizontalWeekCellStyle 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 time cells.

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

Target Type: VisualDateCell

To learn more, see Styles and Templates.

See Also