The requested page is not available for the requested platform. You are viewing the content for Default platform.

SnapToCellsMode Enum

Lists values that manages when the Day-based views snaps appointments to cells.

Namespace: DevExpress.XamarinForms.Scheduler

Assembly: DevExpress.XamarinForms.Scheduler.dll

Declaration

public enum SnapToCellsMode

Members

Name Description
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.

Never

The visible appointment height is proportional to its duration.

Remarks

The DayViewBase.SnapToCellsMode property uses these enum values.

The following table lists images that demonstrate how these values affect appointments:

Value

Sample Image

Description

Never

SnapToCellsMode.Never Sample

The visible appointment height is proportional to its duration.

Always

SnapToCellsMode.Never Sample

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

Auto

SnapToCellsMode.Never Sample

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

Note

The DayViewBase.AppointmentMinHeight property limits the minimum appointment height when the View uses the Never value. Appointments cannot be narrower than the property value.

See Also