corelibraries-devexpress-dot-xtrascheduler-dot-appointmentdisplayoptions-cd5fe250.md
Specifies whether to display a status line and whether to fill the status line to indicate appointment status and duration.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll
NuGet Package : DevExpress.Scheduler.CoreDesktop
public virtual AppointmentStatusDisplayType StatusDisplayType { get; set; }
Public Overridable Property StatusDisplayType As AppointmentStatusDisplayType
| Type | Description |
|---|---|
| AppointmentStatusDisplayType |
An AppointmentStatusDisplayType enumeration value.
|
Available values:
| Name | Description |
|---|---|
| Never |
The appointment status line is invisible.
| | Time |
The appointment status line has the same height (if shown vertically) or width (if shown horizontally) as the time of its appointment.
| | Bounds |
The appointment status line has the same height (if shown vertically) or width (if shown horizontally) as the appointment bounds.
|
You can access this nested property as listed below:
| Object Type | Path to StatusDisplayType |
|---|---|
| SchedulerViewInfoBase |
.AppointmentDisplayOptions .StatusDisplayType
| | TimeCellsControlBase |
.AppointmentDisplayOptions .StatusDisplayType
| | SchedulerViewBase |
.AppointmentDisplayOptions .StatusDisplayType
|
Use this property to specify whether an appointment should indicate appointment status by filling the status line with the status texture and color, and appointment duration by the span of the filled part of the line.
The following code snippets (auto-collected from DevExpress Examples) contain references to the StatusDisplayType 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.
void InitScheduler() {
this.schedulerControl1.DayView.AppointmentDisplayOptions.StatusDisplayType = AppointmentStatusDisplayType.Never;
this.schedulerControl1.DayView.AppointmentDisplayOptions.AllDayAppointmentsStatusDisplayType = AppointmentStatusDisplayType.Never;
winforms-scheduler-custom-draw-appointments/CS/CustomDrawDemo/Form1.cs#L38
schedulerControl1.DayView.AppointmentDisplayOptions.SnapToCellsMode = AppointmentSnapToCellsMode.Never;
schedulerControl1.DayView.AppointmentDisplayOptions.StatusDisplayType = AppointmentStatusDisplayType.Bounds;
schedulerControl1.TimelineView.Scales.Clear();
Private Sub InitScheduler()
Me.schedulerControl1.DayView.AppointmentDisplayOptions.StatusDisplayType = AppointmentStatusDisplayType.Never
Me.schedulerControl1.DayView.AppointmentDisplayOptions.AllDayAppointmentsStatusDisplayType = AppointmentStatusDisplayType.Never
winforms-scheduler-custom-draw-appointments/VB/CustomDrawDemo/Form1.vb#L36
schedulerControl1.DayView.AppointmentDisplayOptions.SnapToCellsMode = AppointmentSnapToCellsMode.Never
schedulerControl1.DayView.AppointmentDisplayOptions.StatusDisplayType = AppointmentStatusDisplayType.Bounds
schedulerControl1.TimelineView.Scales.Clear()
See Also
Appointment Labels and Statuses
AppointmentDisplayOptions Class