Back to Devexpress

AppointmentFormatStringService.GetVerticalAppointmentStartFormat(IAppointmentViewInfo) Method

corelibraries-devexpress-dot-xtrascheduler-dot-services-dot-implementation-dot-appointmentformatstringservice-dot-getverticalappointmentstartformat-x28-devexpress-dot-xtrascheduler-dot-drawing-dot-iappointmentviewinfo-x29.md

latest3.0 KB
Original Source

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.v25.2.Core.Desktop.dll

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
public string GetVerticalAppointmentStartFormat(
    IAppointmentViewInfo aptViewInfo
)
vb
Public Function GetVerticalAppointmentStartFormat(
    aptViewInfo As IAppointmentViewInfo
) As String

Parameters

NameTypeDescription
aptViewInfoIAppointmentViewInfo

An object exposing the IAppointmentViewInfo interface.

|

Returns

TypeDescription
String

A format string.

|

Remarks

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

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

Formatting Services

AppointmentFormatStringService Class

AppointmentFormatStringService Members

DevExpress.XtraScheduler.Services.Implementation Namespace