Skip to main content

AppointmentSnapToCellsMode Enum

Lists the modes of appointment fit in the time cell(s) by stretching it to the cell’s limits.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public enum AppointmentSnapToCellsMode

Members

Name Description
Auto

Appointments that occupy less than two time cells stretch to cell borders. Other appointments do not stretch.

SnapToCellMode-Auto

Always

An appointment is always stretched to cell borders so that it occupies the entire cell or several cells.

SnapToCellMode-Always

Never

The appointment visible width is proportional to its duration. There is a minimal visible width (about 5 pixels). If an appointment’s duration is quite small, it will never be narrower than the minimal width.

SnapToCellMode-Never

Disabled

The appointment visible width is proportional to its duration. The minimal value of a dimension that represents the appointment duration is one pixel. The following picture illustrates the difference between the Disabled and Never modes for an appointment with a very small duration. The Disabled mode displays appointment as a line with a height of one pixel; however in Never mode, it looks like a small appointment with a height of several pixels, rather than a line.

SnapToCells_Disabled

Related API Members

See Also