Skip to main content

AppointmentFormatStringService.GetVerticalAppointmentStartFormat(IAppointmentViewInfo) Method

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

Namespace: DevExpress.XtraScheduler.Services.Implementation

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

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public string GetVerticalAppointmentStartFormat(
    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 “ VerticalAppointmentStart {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