Skip to main content

AppointmentViewInfo.HasTopBorder Property

Determines whether the top border is displayed for the appointment.

Namespace: DevExpress.Xpf.Scheduler.Drawing

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

NuGet Package: DevExpress.Wpf.Scheduler


public bool HasTopBorder { get; set; }

Property Value

Type Description

true if the top border is displayed for an appointment; otherwise, false.



You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

If an appointment lasts several days, visually it can be divided into several parts - one part for each day. If the top border of a vertical appointment section does not correspond to the appointment start time, the top border is not displayed for this section (the HasTopBorder property returns false) and the previous part does not have the bottom border (AppointmentViewInfo.HasBottomBorder returns false). This display is possible, when one day is finished and the next day starts, while the appointment lasts.



Appointments are displayed vertically in time cells of the Day View and Work-Week View.

See Also