DayViewBase.SnapToCellsMode Property
Gets or sets how the View snaps the scheduler’s appointments.
Namespace: DevExpress.XamarinForms.Scheduler
Assembly: DevExpress.XamarinForms.Scheduler.dll
NuGet Package: DevExpress.XamarinForms.Scheduler
Declaration
public SnapToCellsMode SnapToCellsMode { get; set; }
Property Value
Type | Description |
---|---|
SnapToCellsMode | 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. |