Back to Devexpress

AppointmentDisplayOptions.AppointmentHeight Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointmentdisplayoptions-2b591e66.md

latest2.7 KB
Original Source

AppointmentDisplayOptions.AppointmentHeight Property

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

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
[DefaultValue(0)]
public int AppointmentHeight { get; set; }
vb
<DefaultValue(0)>
Public Property AppointmentHeight As Integer

Property Value

TypeDefaultDescription
Int320

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

AppointmentDisplayOptions Class

AppointmentDisplayOptions Members

DevExpress.XtraScheduler Namespace