Skip to main content
A newer version of this page is available. .

DayViewAppointmentDisplayOptionsEx.ShowAllDayAppointmentStatusVertically Property

Gets or sets whether to display an all-day appointment status strip vertically on the left or horizontally at the top.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ShowAllDayAppointmentStatusVertically { get; set; }

Property Value

Type Default Description
Boolean **true**

True, to display all-day appointment status as a vertical strip on the left; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowAllDayAppointmentStatusVertically
DayView
.AppointmentDisplayOptions.ShowAllDayAppointmentStatusVertically
FullWeekView
.AppointmentDisplayOptions.ShowAllDayAppointmentStatusVertically
WorkWeekView
.AppointmentDisplayOptions.ShowAllDayAppointmentStatusVertically

Remarks

ShowAllDayAppointmentStatusVertically = True ShowAllDayAppointmentStatusVertically = False
ShowAllDayAppointmentStatusVertically-True ShowAllDayAppointmentStatusVertically-False

Example

This code illustrates how to handle the SchedulerControl.AppointmentViewInfoCustomizing event to change the AppointmentViewInfo.StatusDisplayType for an appointment whose Appointment.Description contains a particular string.

For better visibility, the DayViewAppointmentDisplayOptionsEx.ShowAllDayAppointmentStatusVertically property is set to false.

    Appointment apt = scheduler.ActiveView.GetAppointments()[0];
    apt.End = apt.End.AddDays(1);
    apt.Description = "Time";
    scheduler.ActiveViewType = SchedulerViewType.Day;
    scheduler.DayView.AppointmentDisplayOptions.AllDayAppointmentsStatusDisplayType = AppointmentStatusDisplayType.Bounds;
    scheduler.DayView.AppointmentDisplayOptions.ShowAllDayAppointmentStatusVertically = false;
    scheduler.AppointmentViewInfoCustomizing += scheduler_AppointmentViewInfoCustomizing_1;
    scheduler.ActiveView.LayoutChanged();
public static void scheduler_AppointmentViewInfoCustomizing_1(object sender, AppointmentViewInfoCustomizingEventArgs e) {
    if (e.ViewInfo.Description.Contains("Time"))
        e.ViewInfo.StatusDisplayType = AppointmentStatusDisplayType.Time;
}

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowAllDayAppointmentStatusVertically 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