Skip to main content

DayViewBase.SnapToCellsMode Property

Gets or sets how the View snaps the scheduler’s appointments. This is a bindable property.

Namespace: DevExpress.Maui.Scheduler

Assembly: DevExpress.Maui.Scheduler.dll

NuGet Package: DevExpress.Maui.Scheduler

Declaration

public SnapToCellsMode SnapToCellsMode { get; set; }

Property Value

Type Default Description
SnapToCellsMode Always

The value that specifies how the View snaps the scheduler’s appointments.

Available values:

Name Description
Auto

The view stretches appointment representations when the appointment’s start and end are in one cell or in neighbor cells.

Always

The view always stretches appointment representations to cell borders. They occupy all the entire cell or several cells in this case.

Never

The visible appointment height is proportional to its duration.

Remarks

The property supports the following values:

Value

Description

Never

The visible appointment height is proportional to its duration.

Always

The view always stretches appointment representations to cell borders. They occupy all the entire cell or several cells in this case.

Auto

The view stretches appointment representations when the appointment’s start and end are in one cell or in neighbor cells.

See Also