Back to Devexpress

DayViewBase.SnapToCellsMode Property

maui-devexpress-dot-maui-dot-scheduler-dot-dayviewbase-ae7e7c56.md

latest1.9 KB
Original Source

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

csharp
public SnapToCellsMode SnapToCellsMode { get; set; }

Property Value

TypeDefaultDescription
SnapToCellsModeAlways

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

|

Available values:

NameDescription
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

DayViewBase Class

DayViewBase Members

DevExpress.Maui.Scheduler Namespace