Skip to main content
A newer version of this page is available. .

HeaderCaptionService.GetHorizontalWeekCellHeaderCaption(SchedulerHeader) Method

Override this method to return a format string for displaying the HorizontalWeekCell header caption in a Month View.

Namespace: DevExpress.XtraScheduler.Services.Implementation

Assembly: DevExpress.XtraScheduler.v18.2.dll

Declaration

public string GetHorizontalWeekCellHeaderCaption(
    SchedulerHeader header
)

Parameters

Name Type Description
header DevExpress.XtraScheduler.Drawing.SchedulerHeader

A DevExpress.XtraScheduler.Drawing.SchedulerHeader object, representing a header.

Returns

Type Description
String

A format string.

Remarks

The following picture illustrates the HorizontalWeekCellHeader location. The GetHorizontalWeekCellHeaderCaption override has been used to modify the caption for the January 1 header.

HorizontalWeekCellHeader

For information on using the HeaderCaptionService refer to the How to: Display Custom Day Headers topic and the online example Formatting Services - an example of use.

See Also