Back to Devexpress

MonthViewAppointmentDisplayOptionsEx.StatusDisplayType Property

windowsforms-devexpress-dot-xtrascheduler-dot-monthviewappointmentdisplayoptionsex-4359bc6e.md

latest5.5 KB
Original Source

MonthViewAppointmentDisplayOptionsEx.StatusDisplayType Property

Gets or sets how the appointment status is displayed in the Month view.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
[DefaultValue(AppointmentStatusDisplayType.Bounds)]
public override AppointmentStatusDisplayType StatusDisplayType { get; set; }
vb
<DefaultValue(AppointmentStatusDisplayType.Bounds)>
Public Overrides Property StatusDisplayType As AppointmentStatusDisplayType

Property Value

TypeDefaultDescription
AppointmentStatusDisplayTypeBounds

A AppointmentStatusDisplayType enumeration member specifying how the status should be displayed within the appointment rectangle.

|

Available values:

NameDescription
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.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to StatusDisplayType
MonthView

.AppointmentDisplayOptions .StatusDisplayType

|

Remarks

The StatusDisplayType values are interpreted differently for the vertical status line, i.e., if the MonthViewAppointmentDisplayOptionsEx.ShowAppointmentStatusVertically property is set to true , as shown in the following table.

StatusDisplayType ValueStatus Line Displayed Vertically
AppointmentStatusDisplayType.BoundsThe appointment status line has the same height as the appointment bounds.
AppointmentStatusDisplayType.TimeThe same as for the Bounds value.
AppointmentStatusDisplayType.NeverThe 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-sync-google-event-colors-with-labels/CS/SchedulerGSync/SchedulerGSync/MainForm.cs#L40

csharp
this.schedulerControl1.FullWeekView.AppointmentDisplayOptions.AllDayAppointmentsStatusDisplayType = AppointmentStatusDisplayType.Never;
this.schedulerControl1.MonthView.AppointmentDisplayOptions.StatusDisplayType = AppointmentStatusDisplayType.Never;
this.schedulerControl1.AgendaView.AppointmentDisplayOptions.StatusDisplayType = AppointmentStatusDisplayType.Never;

winforms-scheduler-sync-google-event-colors-with-labels/VB/SchedulerGSync/SchedulerGSync/MainForm.vb#L42

vb
Me.schedulerControl1.FullWeekView.AppointmentDisplayOptions.AllDayAppointmentsStatusDisplayType = AppointmentStatusDisplayType.Never
Me.schedulerControl1.MonthView.AppointmentDisplayOptions.StatusDisplayType = AppointmentStatusDisplayType.Never
Me.schedulerControl1.AgendaView.AppointmentDisplayOptions.StatusDisplayType = AppointmentStatusDisplayType.Never

See Also

MonthViewAppointmentDisplayOptionsEx Class

MonthViewAppointmentDisplayOptionsEx Members

DevExpress.XtraScheduler Namespace