corelibraries-devexpress-dot-xtrascheduler-dot-appointmentdisplayoptions-3eecfeb1.md
Please, use SnapToCellsMode property instead.
Specifies whether the appointment should snap to cell borders.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll
NuGet Package : DevExpress.Scheduler.CoreDesktop
[Browsable(false)]
[Obsolete("Please, use SnapToCellsMode property instead.", false)]
public virtual bool SnapToCells { get; set; }
<Obsolete("Please, use SnapToCellsMode property instead.", False)>
<Browsable(False)>
Public Overridable Property SnapToCells As Boolean
| Type | Description |
|---|---|
| Boolean |
true if appointments are snapped to cells; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to SnapToCells |
|---|---|
| SchedulerViewInfoBase |
.AppointmentDisplayOptions .SnapToCells
| | TimeCellsControlBase |
.AppointmentDisplayOptions .SnapToCells
| | SchedulerViewBase |
.AppointmentDisplayOptions .SnapToCells
|
Use the AppointmentDisplayOptions.SnapToCellsMode instead.
When the SnapToCells is true , the appointments are displayed snapped to the cell borders. The actual duration is indicated by colorizing the left border of the appointment if the AppointmentDisplayOptions.StatusDisplayType is set to AppointmentStatusDisplayType.Time.
See Also
AppointmentDisplayOptions.SnapToCellsMode
WeekViewAppointmentDisplayOptions.SnapToCellsMode
AppointmentDisplayOptions Class