windowsforms-devexpress-dot-xtrascheduler-dot-timelineviewappointmentdisplayoptionsex-ba0fee7b.md
Specifies how to display the status line.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
[DefaultValue(AppointmentStatusDisplayType.Bounds)]
public override AppointmentStatusDisplayType StatusDisplayType { get; set; }
<DefaultValue(AppointmentStatusDisplayType.Bounds)>
Public Overrides Property StatusDisplayType As AppointmentStatusDisplayType
| Type | Default | Description |
|---|---|---|
| AppointmentStatusDisplayType | Bounds |
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 |
|---|---|
| TimelineView |
.AppointmentDisplayOptions .StatusDisplayType
|
The StatusDisplayType values are interpreted differently for the vertical status line, i.e. if the TimelineViewAppointmentDisplayOptionsEx.ShowAppointmentStatusVertically property is set to true , as shown in the following table.
| StatusDisplayType Value | Status Line Displayed Vertically |
|---|---|
| AppointmentStatusDisplayType.Bounds | The appointment status line has the same height as the appointment bounds. |
| AppointmentStatusDisplayType.Time | The same as for the Bounds value. |
| AppointmentStatusDisplayType.Never | The appointment status line is invisible. |
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.
winforms-scheduler-custom-draw-appointments/CS/CustomDrawDemo/Form1.cs#L36
schedulerControl1.TimelineView.AppointmentDisplayOptions.SnapToCellsMode = AppointmentSnapToCellsMode.Never;
schedulerControl1.TimelineView.AppointmentDisplayOptions.StatusDisplayType = AppointmentStatusDisplayType.Bounds;
schedulerControl1.DayView.AppointmentDisplayOptions.SnapToCellsMode = AppointmentSnapToCellsMode.Never;
winforms-scheduler-custom-draw-appointments/VB/CustomDrawDemo/Form1.vb#L34
schedulerControl1.TimelineView.AppointmentDisplayOptions.SnapToCellsMode = AppointmentSnapToCellsMode.Never
schedulerControl1.TimelineView.AppointmentDisplayOptions.StatusDisplayType = AppointmentStatusDisplayType.Bounds
schedulerControl1.DayView.AppointmentDisplayOptions.SnapToCellsMode = AppointmentSnapToCellsMode.Never
See Also
TimelineViewAppointmentDisplayOptionsEx Class