A newer version of this page is available. Switch to the current version.

TimeRulerFormatStringService.GetHalfDayHourFormat(TimeRuler) Method

Override this method to change the format of the half-day hour caption at the Time Ruler.

Namespace: DevExpress.XtraScheduler.Services.Implementation

Assembly: DevExpress.XtraScheduler.v18.2.Core.dll

Declaration

public string GetHalfDayHourFormat(
    TimeRuler ruler
)
Public Function GetHalfDayHourFormat(
    ruler As TimeRuler
) As String

Parameters

Name Type Description
ruler TimeRuler

A TimeRuler object.

Returns

Type Description
String

A format string.

Remarks

The location of the formatted item is illustrated in the following picture:

TimeRulerFormatStringService.GetHalfDayHourFormat

The format string used is "HH 'HalfDayHour'"

For information on using the TimeRulerFormatStringService refer to the How to: Display TimeRulers with Different Time Formats Together topic, and the online example Formatting Services - an example of use.

Implements

DevExpress.XtraScheduler.Services.ITimeRulerFormatStringService.GetHalfDayHourFormat(TimeRuler)
See Also