Back to Devexpress

AppointmentFormatStringService.GetVerticalAppointmentEndFormat(IAppointmentViewInfo) Method

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

latest2.9 KB
Original Source

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

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
public string GetVerticalAppointmentEndFormat(
    IAppointmentViewInfo aptViewInfo
)
vb
Public Function GetVerticalAppointmentEndFormat(
    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 “ 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

Formatting Services

AppointmentFormatStringService Class

AppointmentFormatStringService Members

DevExpress.XtraScheduler.Services.Implementation Namespace