Skip to main content

AppointmentDisplayOptions.TimeDisplayType Property

Specifies how the start and end time of the appointment should be displayed - using symbols or digits.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

[XtraSerializableProperty]
public AppointmentTimeDisplayType TimeDisplayType { get; set; }

Property Value

Type Description
AppointmentTimeDisplayType

A AppointmentDisplayOptions.TimeDisplayType enumeration member.

Available values:

Name Description
Auto

The start and end time is automatically shown either as text or as clock.

Clock

The start and end time is always shown as clock.

TimeDisplayType_Clock

Text

The start and end time is always shown as text.

TimeDisplayType_Text

Property Paths

You can access this nested property as listed below:

Object Type Path to TimeDisplayType
SchedulerViewInfoBase
.AppointmentDisplayOptions .TimeDisplayType
TimeCellsControlBase
.AppointmentDisplayOptions .TimeDisplayType
SchedulerViewBase
.AppointmentDisplayOptions .TimeDisplayType

Remarks

Set this property to AppointmentTimeDisplayType.Clock for displaying the start and end time as clock symbols.

Clock symbols are not displayed in vertical appointments, i.e., appointments that span vertical. An example of such an appointment is an ordinary appointment in the DayView which is shorter than a day. Vertical appointments always display time as text.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TimeDisplayType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also