Back to Devexpress

AppointmentFormatStringService.GetHorizontalAppointmentEndFormat(IAppointmentViewInfo) Method

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

latest3.0 KB
Original Source

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

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

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

Formatting Services

AppointmentFormatStringService Class

AppointmentFormatStringService Members

DevExpress.XtraScheduler.Services.Implementation Namespace