Skip to main content

AppointmentDisplayOptions.SnapToCells Property

OBSOLETE

Please, use SnapToCellsMode property instead.

Specifies whether the appointment should snap to cell borders.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

[Browsable(false)]
[Obsolete("Please, use SnapToCellsMode property instead.", false)]
[XtraSerializableProperty(XtraSerializationFlags.None)]
public virtual bool SnapToCells { get; set; }

Property Value

Type Description
Boolean

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

Property Paths

You can access this nested property as listed below:

Object Type Path to SnapToCells
SchedulerViewInfoBase
TimeCellsControlBase
SchedulerViewBase

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