Skip to main content

AppointmentFormatStringService.GetHorizontalAppointmentEndFormat(IAppointmentViewInfo) Method

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

Namespace: DevExpress.XtraScheduler.Services.Implementation

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

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public string GetHorizontalAppointmentEndFormat(
    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 “ HorizontalAppointmentEnd=> {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