Skip to main content

AppointmentFormatStringService.GetHorizontalAppointmentStartFormat(IAppointmentViewInfo) Method

Override this method to change the format of the appointment start time in the Timeline View.

Namespace: DevExpress.XtraScheduler.Services.Implementation

Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll

Declaration

public string GetHorizontalAppointmentStartFormat(
    IAppointmentViewInfo aptViewInfo
)

Parameters

Name Type Description
aptViewInfo IAppointmentViewInfo

An object exposing the IAppointmentViewInfo interface.

Returns

Type Description
String

A format string.

Remarks

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

AppointmentFormatStringService.GetHorizontalAppointmentStartFormat

The format string used is “ HorizontalAppointmentStart=> {0: HH:mm}”

For information on using the AppointmentFormatStringService refer to the How to: Display Appointments in Military Time topic, and the online example Formatting Services - an example of use.

See Also