Skip to main content

SchedulerAppointmentDisplayOptions.StatusDisplayType Property

Specifies whether the border of an appointment should be colorized according to the time status and appointment duration.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public AppointmentStatusDisplayType StatusDisplayType { get; set; }

#Property Value

Type Description
AppointmentStatusDisplayType

A AppointmentStatusDisplayType enumeration value specifying how to display the appointment status.

#Property Paths

You can access the SchedulerAppointmentDisplayOptions.StatusDisplayType property from the following objects:

Object Type Path to StatusDisplayType
DayView
.AppointmentDisplayOptions.StatusDisplayType
MonthView
.AppointmentDisplayOptions.StatusDisplayType
TimelineView
.AppointmentDisplayOptions.StatusDisplayType
WeekView
.AppointmentDisplayOptions.StatusDisplayType
WorkWeekView
.AppointmentDisplayOptions.StatusDisplayType

#Remarks

Use the StatusDisplayType property to display the time status by the color of the appointment border, and its duration by the span of the colorized part of the border along the time ruler.

For example, when the StatusDisplayType is set to Time, the status line will have the same height as the time of its appointment, as illustrated below:

DXScheduler_StatusDisplayType_Time

#Examples

This example demonstrates how to customize the Day View within the SchedulerControl. To do this, it is necessary to modify the DayView object accessed via the SchedulerControl.DayView property.

See Also