Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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