MonthView.IsVerticalScrollSnappingEnabled Property

Gets or sets a value indicating whether the Scheduler should snap to the top-edge of the closest time cell row when scrolling completes. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v21.2.dll

Declaration

public bool IsVerticalScrollSnappingEnabled { get; set; }

Property Value

Type Description
Boolean

true, to enable snapping for vertical scrolling; otherwise, false. The default is true.

Remarks

The IsVerticalScrollSnappingEnabled property is not in effect if the ViewMode property is set to Standard.

To help you navigate the Month View more efficiently, the SchedulerControl introduces the IsVerticalScrollSnappingEnabled and MonthView.IsDeferredVerticalScrollingEnabled options. The IsVerticalScrollSnappingEnabled property assumes that the Scheduler snaps to the top of time cells when a user scrolls the view, so the entire cell content is displayed on-screen.

WPFScheduler_VerticalSnapScrolling

The MonthView.IsDeferredVerticalScrollingEnabled option enables deferred scrolling for the vertical scroll bar. It means that the view does not scroll until a user releases the scroll bar’s thumb.

To turn on live scrolling for the Month view, set the IsVerticalScrollSnappingEnabled and MonthView.IsDeferredVerticalScrollingEnabled properties to false.

See Also