TimelineView.SnapToCellsMode Property
Gets or sets the method of snapping appointments to time cells. This is a dependency property.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduling
#Declaration
public SnapToCellsMode SnapToCellsMode { get; set; }
#Property Value
Type | Description |
---|---|
Snap |
A DevExpress. |
Available values:
Name | Description |
---|---|
Auto | Appointment is stretched to a cell border only if the appointment start and end are located in the same cell or in adjacent cells. |
Always | An appointment is always stretched to cell borders so that it occupies the entire cell or several cells. |
Never | The appointment visible width is proportional to its duration. However, there is a minimal visible width (Timeline |