Skip to main content

AppointmentDisplayOptions.AppointmentHeight Property

Gets or sets the height of a single appointment for the current View (in pixels).

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

[DefaultValue(0)]
public int AppointmentHeight { get; set; }

Property Value

Type Default Description
Int32 0

An integer value which represents the appointment height measured in pixels.

Property Paths

You can access this nested property as listed below:

Object Type Path to AppointmentHeight
SchedulerViewInfoBase
.AppointmentDisplayOptions .AppointmentHeight
TimeCellsControlBase
.AppointmentDisplayOptions .AppointmentHeight
SchedulerViewBase
.AppointmentDisplayOptions .AppointmentHeight

Remarks

Use the AppointmentHeight property to specify the appointment height.

Note

Since the height of the appointments in Day View and Work Week View views depends on the appointment’s duration, the AppointmentHeight property is not applicable in this case, except for the appointments of the Appointment.AllDay type.

See Also