SchedulerViewAppointmentDisplayOptions.SnapToCellsMode Property
Gets or sets the method of snapping appointments to time cells.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Appointment |
A Appointment |
#Property Paths
You can access the SchedulerViewAppointmentDisplayOptions.SnapToCellsMode property from the following objects:
#Remarks
When snapping mode is set to Auto, an appointment is stretched to fill the cell(s) if its time interval does not include an entire cell. Different snap modes in the Timeline View are illustrated below.
SnapToCellsMode = Always
SnapToCellsMode = Auto
SnapToCellsMode = Never
For Day and Work-Week views the actual duration is indicated by colorizing the left border of the appointment if the SchedulerAppointmentDisplayOptions.StatusDisplayType is set to AppointmentStatusDisplayType.Time. Snap modes for the DayView are illustrated below.
SnapToCellsMode = Always
SnapToCellsMode = Auto
SnapToCellsMode = Never
SnapToCellsMode = Disabled