Back to Devexpress

AppointmentDisplayOptions.SnapToCells Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointmentdisplayoptions-3eecfeb1.md

latest3.2 KB
Original Source

AppointmentDisplayOptions.SnapToCells Property

OBSOLETE

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

Declaration

csharp
[Browsable(false)]
[Obsolete("Please, use SnapToCellsMode property instead.", false)]
public virtual bool SnapToCells { get; set; }
vb
<Obsolete("Please, use SnapToCellsMode property instead.", False)>
<Browsable(False)>
Public Overridable Property SnapToCells As Boolean

Property Value

TypeDescription
Boolean

true if appointments are snapped to cells; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to SnapToCells
SchedulerViewInfoBase

.AppointmentDisplayOptions .SnapToCells

| | TimeCellsControlBase |

.AppointmentDisplayOptions .SnapToCells

| | SchedulerViewBase |

.AppointmentDisplayOptions .SnapToCells

|

Remarks

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

AppointmentDisplayOptions Members

DevExpress.XtraScheduler Namespace