Skip to main content

AppointmentFormatStringService.GetVerticalAppointmentEndFormat(IAppointmentViewInfo) Method

Override this method to change the format of the appointment end time in the views that use vertical appointments, such as the Day view.

Namespace: DevExpress.XtraScheduler.Services.Implementation

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

Declaration

public string GetVerticalAppointmentEndFormat(
    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.GetVerticalAppointmentStartFormat

The format string used is “ VerticalAppointmentEnd {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