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

AppointmentViewInfo.HasTopBorder Property

Determines whether the top border is displayed for the appointment.

Namespace: DevExpress.Xpf.Scheduler.Drawing

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduler, DevExpress.Wpf.Scheduler

Declaration

public bool HasTopBorder { get; set; }

Property Value

Type Description
Boolean

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

Remarks

Important

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.

AppointmentViewInfo_HasBottomBorder_HasTopBorder

Note

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

See Also