Skip to main content
All docs
V24.2

ScrollBarExtensions.AllowShiftKeyMode Attached Property

Gets or sets whether users can hold the Shift key and use the mouse wheel to scroll data horizontally.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

Declaration

Returns

Type Default Description
Boolean false

true to enable horizontal scrolling with the Shift key pressed; otherwise, false.

Remarks

The following code sample enables horizontal scrolling with the Shift key pressed in the GridControl:

<Window ...
        xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
        xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid">
    <dxg:GridControl ...
                     dx:ScrollBarExtensions.AllowMouseScrolling="True"
                     dx:ScrollBarExtensions.AllowShiftKeyMode="True"/>
See Also