Skip to main content

OptionsBehavior.MouseWheelScrollAction Property

Gets or sets how the mouse wheel scrolling direction is interpreted. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public MouseWheelScrollAction MouseWheelScrollAction { get; set; }

Property Value

Type Description
MouseWheelScrollAction

A MouseWheelScrollAction enumeration member that specifies the scheduler coordinate from which to scroll.

Available values:

Name Description
Time

Vertical mouse wheel scrolling moves the View along its timeline (up or down for vertically oriented Views like DayView, left or right for horizontally oriented Views like TimelineView).

Auto

The View is moved in the same direction as the mouse wheel. Vertical scrolling moves the View up or down, horizontal scrolling (for mice that support it) moves the View left or right. In Views where the timeline is horizontal (for instance, Timeline View), vertical scrolling functions only if the View is grouped by resources. Otherwise, scrolling the wheel up or down does nothing.

Property Paths

You can access this nested property as listed below:

Object Type Path to MouseWheelScrollAction
SchedulerControl
.OptionsBehavior .MouseWheelScrollAction

Remarks

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

The MouseWheelScrollAction option is in effect for the bidirectional mouse wheel.

See Also