Back to Devexpress

SnapToCellsMode Enum

wpf-devexpress-dot-xpf-dot-scheduling-77489994.md

latest1.7 KB
Original Source

SnapToCellsMode Enum

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

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public enum SnapToCellsMode
vb
Public Enum SnapToCellsMode

Members

NameDescription
Auto

Appointment is stretched to a cell border only if the appointment start and end are located in the same cell or in adjacent cells.

| | Always |

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

| | Never |

The appointment visible width is proportional to its duration. However, there is a minimal visible width (TimelineView.AppointmentMinWidth) or height (DayViewBase.AppointmentMinHeight). If an appointment’s duration is quite small, it will never be narrower than the minimal value.

|

The following properties accept/return SnapToCellsMode values:

See Also

DevExpress.Xpf.Scheduling Namespace