Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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