Skip to main content

DayViewBase.AppointmentMinHeight Property

Gets or sets the minimum height of appointments in the Day View, Work Week View, and Week View. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public double AppointmentMinHeight { get; set; }

Property Value

Type Description
Double

A Double value that specifies the minimum appointment height in pixels.

Remarks

The AppointmentMinHeight property is in effect only when the DayViewBase.SnapToCellsMode property is SnapToCellsMode.Never. In this case, the appointment height is proportional to its duration. If an appointment’s duration is less than the current time slot interval defined by the DayViewBase.TimeScale property, the appointment is shown using the height specified by the AppointmentMinHeight property or extends to the time cell boundaries, if the AppointmentMinHeight value exceeds the current time cell height.

See Also